public class MapStoreConfig extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
MapStoreConfig.InitialLoadMode
Initial load module 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
DEFAULT_WRITE_BATCH_SIZE
Default batch size for writing 
 | 
static int | 
DEFAULT_WRITE_DELAY_SECONDS
Default delay seconds for writing 
 | 
| Constructor and Description | 
|---|
MapStoreConfig()  | 
MapStoreConfig(MapStoreConfig config)  | 
| Modifier and Type | Method and Description | 
|---|---|
MapStoreConfigReadOnly | 
getAsReadOnly()  | 
String | 
getClassName()
Returns the name of the MapStore implementation class 
 | 
String | 
getFactoryClassName()
Returns the name of the MapStoreFactory implementation class 
 | 
Object | 
getFactoryImplementation()
Returns the map store factory implementation object 
 | 
Object | 
getImplementation()
Returns the map store implementation object 
 | 
MapStoreConfig.InitialLoadMode | 
getInitialLoadMode()
Returns initial load mode 
 | 
Properties | 
getProperties()  | 
String | 
getProperty(String name)  | 
int | 
getWriteBatchSize()
Returns the number of operations to be included in each batch processing round. 
 | 
int | 
getWriteDelaySeconds()
Returns the number of seconds to delay the store writes. 
 | 
boolean | 
isEnabled()
Returns if this configuration is enabled 
 | 
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. 
 | 
String | 
toString()  | 
public static final int DEFAULT_WRITE_DELAY_SECONDS
public static final int DEFAULT_WRITE_BATCH_SIZE
public MapStoreConfig()
public MapStoreConfig(MapStoreConfig config)
public MapStoreConfigReadOnly getAsReadOnly()
public String getClassName()
public MapStoreConfig setClassName(String className)
className - the name of the MapStore implementation class to setpublic String getFactoryClassName()
public MapStoreConfig setFactoryClassName(String factoryClassName)
factoryClassName - the name of the MapStoreFactory implementation class to setpublic int getWriteDelaySeconds()
public MapStoreConfig setWriteDelaySeconds(int writeDelaySeconds)
writeDelaySeconds - the number of seconds to delay.public int getWriteBatchSize()
public MapStoreConfig setWriteBatchSize(int writeBatchSize)
writeBatchSize - the number of operations to be included.public boolean isEnabled()
public MapStoreConfig setEnabled(boolean enabled)
enabled - public MapStoreConfig setImplementation(Object implementation)
implementation - implementation objectpublic Object getImplementation()
public MapStoreConfig setFactoryImplementation(Object factoryImplementation)
factoryImplementation - factory implementation objectpublic Object getFactoryImplementation()
public MapStoreConfig setProperty(String name, String value)
public Properties getProperties()
public MapStoreConfig setProperties(Properties properties)
public MapStoreConfig.InitialLoadMode getInitialLoadMode()
public MapStoreConfig setInitialLoadMode(MapStoreConfig.InitialLoadMode initialLoadMode)
initialLoadMode - initial load mode objectCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.