public class MapStoreConfigReadOnly extends MapStoreConfig
MapStoreConfig.InitialLoadModeDEFAULT_WRITE_BATCH_SIZE, DEFAULT_WRITE_DELAY_SECONDS| Constructor and Description | 
|---|
MapStoreConfigReadOnly(MapStoreConfig config)  | 
| Modifier and Type | Method and Description | 
|---|---|
MapStoreConfig | 
setClassName(String className)
Sets the name for the MapStore implementation class 
 | 
MapStoreConfig | 
setEnabled(boolean enabled)
Enables and disables this configuration 
 | 
MapStoreConfig | 
setFactoryClassName(String factoryClassName)
Sets the name for the MapStoreFactory implementation class 
 | 
MapStoreConfig | 
setFactoryImplementation(Object factoryImplementation)
Sets the map store factory implementation object 
 | 
MapStoreConfig | 
setImplementation(Object implementation)
Sets the map store implementation object 
 | 
MapStoreConfig | 
setInitialLoadMode(MapStoreConfig.InitialLoadMode initialLoadMode)
Sets initial load mode
 
 LAZY: Default load mode where load is async
 EAGER: load mode where load is blocked till all partitions are loaded 
 | 
MapStoreConfig | 
setProperties(Properties properties)  | 
MapStoreConfig | 
setProperty(String name,
           String value)  | 
MapStoreConfig | 
setWriteBatchSize(int writeBatchSize)
Sets the number of operations to be included in each batch processing round. 
 | 
MapStoreConfig | 
setWriteDelaySeconds(int writeDelaySeconds)
Sets the number of seconds to delay before writing (storing) the dirty records
 
 Default value is 0. 
 | 
getAsReadOnly, getClassName, getFactoryClassName, getFactoryImplementation, getImplementation, getInitialLoadMode, getProperties, getProperty, getWriteBatchSize, getWriteDelaySeconds, isEnabled, toStringpublic MapStoreConfigReadOnly(MapStoreConfig config)
public MapStoreConfig setClassName(String className)
MapStoreConfigsetClassName in class MapStoreConfigclassName - the name of the MapStore implementation class to setpublic MapStoreConfig setFactoryClassName(String factoryClassName)
MapStoreConfigsetFactoryClassName in class MapStoreConfigfactoryClassName - the name of the MapStoreFactory implementation class to setpublic MapStoreConfig setWriteDelaySeconds(int writeDelaySeconds)
MapStoreConfigsetWriteDelaySeconds in class MapStoreConfigwriteDelaySeconds - the number of seconds to delay.public MapStoreConfig setWriteBatchSize(int writeBatchSize)
MapStoreConfigsetWriteBatchSize in class MapStoreConfigwriteBatchSize - the number of operations to be included.public MapStoreConfig setEnabled(boolean enabled)
MapStoreConfigsetEnabled in class MapStoreConfigpublic MapStoreConfig setImplementation(Object implementation)
MapStoreConfigsetImplementation in class MapStoreConfigimplementation - implementation objectpublic MapStoreConfig setInitialLoadMode(MapStoreConfig.InitialLoadMode initialLoadMode)
MapStoreConfigsetInitialLoadMode in class MapStoreConfiginitialLoadMode - initial load mode objectpublic MapStoreConfig setFactoryImplementation(Object factoryImplementation)
MapStoreConfigsetFactoryImplementation in class MapStoreConfigfactoryImplementation - factory implementation objectpublic MapStoreConfig setProperty(String name, String value)
setProperty in class MapStoreConfigpublic MapStoreConfig setProperties(Properties properties)
setProperties in class MapStoreConfigCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.