com.hazelcast.config
Class MapStoreConfigReadOnly
java.lang.Object
com.hazelcast.config.MapStoreConfig
com.hazelcast.config.MapStoreConfigReadOnly
public class MapStoreConfigReadOnly
- extends MapStoreConfig
Methods inherited from class com.hazelcast.config.MapStoreConfig |
getAsReadOnly, getClassName, getFactoryClassName, getFactoryImplementation, getImplementation, getInitialLoadMode, getProperties, getProperty, getWriteDelaySeconds, isEnabled, setInitialLoadMode, toString |
MapStoreConfigReadOnly
public MapStoreConfigReadOnly(MapStoreConfig config)
setClassName
public MapStoreConfig setClassName(String className)
- Description copied from class:
MapStoreConfig
- Sets the name for the MapStore implementation class
- Overrides:
setClassName
in class MapStoreConfig
- Parameters:
className
- the name of the MapStore implementation class to set
setFactoryClassName
public MapStoreConfig setFactoryClassName(String factoryClassName)
- Description copied from class:
MapStoreConfig
- Sets the name for the MapStoreFactory implementation class
- Overrides:
setFactoryClassName
in class MapStoreConfig
- Parameters:
factoryClassName
- the name of the MapStoreFactory implementation class to set
setWriteDelaySeconds
public MapStoreConfig setWriteDelaySeconds(int writeDelaySeconds)
- Description copied from class:
MapStoreConfig
- Sets the number of seconds to delay before writing (storing) the dirty records
- Overrides:
setWriteDelaySeconds
in class MapStoreConfig
- Parameters:
writeDelaySeconds
- the number of seconds to delay
setEnabled
public MapStoreConfig setEnabled(boolean enabled)
- Description copied from class:
MapStoreConfig
- Enables and disables this configuration
- Overrides:
setEnabled
in class MapStoreConfig
setImplementation
public MapStoreConfig setImplementation(Object implementation)
- Description copied from class:
MapStoreConfig
- Sets the map store implementation object
- Overrides:
setImplementation
in class MapStoreConfig
- Parameters:
implementation
- implementation object
- Returns:
- this MapStoreConfig instance
setFactoryImplementation
public MapStoreConfig setFactoryImplementation(Object factoryImplementation)
- Description copied from class:
MapStoreConfig
- Sets the map store factory implementation object
- Overrides:
setFactoryImplementation
in class MapStoreConfig
- Parameters:
factoryImplementation
- factory implementation object
- Returns:
- this MapStoreConfig instance
setProperty
public MapStoreConfig setProperty(String name,
String value)
- Overrides:
setProperty
in class MapStoreConfig
setProperties
public MapStoreConfig setProperties(Properties properties)
- Overrides:
setProperties
in class MapStoreConfig
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.