|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.MapStoreConfig com.hazelcast.config.MapStoreConfigReadOnly
public class MapStoreConfigReadOnly
Contains the configuration for a Map Store (read-only).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.hazelcast.config.MapStoreConfig |
---|
MapStoreConfig.InitialLoadMode |
Field Summary |
---|
Fields inherited from class com.hazelcast.config.MapStoreConfig |
---|
DEFAULT_WRITE_BATCH_SIZE, DEFAULT_WRITE_COALESCING, DEFAULT_WRITE_DELAY_SECONDS |
Constructor Summary | |
---|---|
MapStoreConfigReadOnly(MapStoreConfig config)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.hazelcast.config.MapStoreConfig |
---|
getAsReadOnly, getClassName, getFactoryClassName, getFactoryImplementation, getImplementation, getInitialLoadMode, getProperties, getProperty, getWriteBatchSize, getWriteDelaySeconds, isEnabled, isWriteCoalescing, setWriteCoalescing, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MapStoreConfigReadOnly(MapStoreConfig config)
Method Detail |
---|
public MapStoreConfig setClassName(String className)
MapStoreConfig
setClassName
in class MapStoreConfig
className
- the name of the MapStore implementation class to setpublic MapStoreConfig setFactoryClassName(String factoryClassName)
MapStoreConfig
setFactoryClassName
in class MapStoreConfig
factoryClassName
- the name of the MapStoreFactory implementation class to setpublic MapStoreConfig setWriteDelaySeconds(int writeDelaySeconds)
MapStoreConfig
setWriteDelaySeconds
in class MapStoreConfig
writeDelaySeconds
- the number of seconds to delay.public MapStoreConfig setWriteBatchSize(int writeBatchSize)
MapStoreConfig
setWriteBatchSize
in class MapStoreConfig
writeBatchSize
- the number of operations to be included.public MapStoreConfig setEnabled(boolean enabled)
MapStoreConfig
setEnabled
in class MapStoreConfig
public MapStoreConfig setImplementation(Object implementation)
MapStoreConfig
setImplementation
in class MapStoreConfig
implementation
- implementation object
public MapStoreConfig setInitialLoadMode(MapStoreConfig.InitialLoadMode initialLoadMode)
MapStoreConfig
setInitialLoadMode
in class MapStoreConfig
initialLoadMode
- initial load mode objectpublic MapStoreConfig setFactoryImplementation(Object factoryImplementation)
MapStoreConfig
setFactoryImplementation
in class MapStoreConfig
factoryImplementation
- factory implementation object
public MapStoreConfig setProperty(String name, String value)
setProperty
in class MapStoreConfig
public MapStoreConfig setProperties(Properties properties)
setProperties
in class MapStoreConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |