public class MapStoreConfigReadOnly extends MapStoreConfig
MapStoreConfig.InitialLoadModeDEFAULT_WRITE_BATCH_SIZE, DEFAULT_WRITE_COALESCING, DEFAULT_WRITE_DELAY_SECONDS| Constructor and Description | 
|---|
MapStoreConfigReadOnly(MapStoreConfig config)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
MapStoreConfig | 
setClassName(String className)
Deprecated.  
Sets the name for the MapStore implementation class 
 | 
MapStoreConfig | 
setEnabled(boolean enabled)
Deprecated.  
Enables and disables this configuration 
 | 
MapStoreConfig | 
setFactoryClassName(String factoryClassName)
Deprecated.  
Sets the name for the MapStoreFactory implementation class 
 | 
MapStoreConfig | 
setFactoryImplementation(Object factoryImplementation)
Deprecated.  
Sets the map store factory implementation object. 
 | 
MapStoreConfig | 
setImplementation(Object implementation)
Deprecated.  
Sets the map store implementation object 
 | 
MapStoreConfig | 
setInitialLoadMode(MapStoreConfig.InitialLoadMode initialLoadMode)
Deprecated.  
Sets the initial load mode. 
 | 
MapStoreConfig | 
setProperties(Properties properties)
Deprecated.  
Sets the properties 
 | 
MapStoreConfig | 
setProperty(String name,
           String value)
Deprecated.  
  | 
MapStoreConfig | 
setWriteBatchSize(int writeBatchSize)
Deprecated.  
Sets the number of operations to be included in each batch processing round. 
 | 
MapStoreConfig | 
setWriteCoalescing(boolean writeCoalescing)
Deprecated.  
Setting  
MapStoreConfig.writeCoalescing is meaningful if you are using write-behind MapStore. | 
MapStoreConfig | 
setWriteDelaySeconds(int writeDelaySeconds)
Deprecated.  
Sets the number of seconds to delay before writing (storing) the dirty records 
 | 
equals, getAsReadOnly, getClassName, getFactoryClassName, getFactoryId, getFactoryImplementation, getId, getImplementation, getInitialLoadMode, getProperties, getProperty, getWriteBatchSize, getWriteDelaySeconds, hashCode, isEnabled, isWriteCoalescing, readData, toString, writeDatapublic MapStoreConfigReadOnly(MapStoreConfig config)
public MapStoreConfig setClassName(String className)
MapStoreConfigsetClassName in class MapStoreConfigclassName - the name to set for the MapStore implementation classpublic MapStoreConfig setFactoryClassName(String factoryClassName)
MapStoreConfigsetFactoryClassName in class MapStoreConfigfactoryClassName - the name to set for the MapStoreFactory implementation classpublic MapStoreConfig setWriteDelaySeconds(int writeDelaySeconds)
MapStoreConfigDefault value is 0.
setWriteDelaySeconds in class MapStoreConfigwriteDelaySeconds - the number of seconds to delay before writing the dirty recordspublic MapStoreConfig setWriteBatchSize(int writeBatchSize)
MapStoreConfigDefault value is 1.
setWriteBatchSize in class MapStoreConfigwriteBatchSize - the number of operations to be included in each batch processing roundpublic MapStoreConfig setEnabled(boolean enabled)
MapStoreConfigsetEnabled in class MapStoreConfigenabled - true to enables this configuration, false to disablepublic MapStoreConfig setImplementation(Object implementation)
MapStoreConfigsetImplementation in class MapStoreConfigimplementation - the map store implementation object to setpublic MapStoreConfig setInitialLoadMode(MapStoreConfig.InitialLoadMode initialLoadMode)
MapStoreConfigsetInitialLoadMode in class MapStoreConfiginitialLoadMode - the initial load mode objectpublic MapStoreConfig setFactoryImplementation(Object factoryImplementation)
MapStoreConfigsetFactoryImplementation in class MapStoreConfigfactoryImplementation - the factory implementation objectpublic MapStoreConfig setProperty(String name, String value)
setProperty in class MapStoreConfigpublic MapStoreConfig setProperties(Properties properties)
MapStoreConfigsetProperties in class MapStoreConfigproperties - the properties to be setpublic MapStoreConfig setWriteCoalescing(boolean writeCoalescing)
MapStoreConfigMapStoreConfig.writeCoalescing is meaningful if you are using write-behind MapStore.
 
 When MapStoreConfig.writeCoalescing is true, only the latest store operation on a key in the MapStoreConfig.writeDelaySeconds
 time-window will be reflected to MapStore.
 
Default value is true.
setWriteCoalescing in class MapStoreConfigwriteCoalescing - true to enable write-coalescing, false otherwiseGroupProperty.MAP_WRITE_BEHIND_QUEUE_CAPACITYCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.