|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.config.MapStoreConfig
public final class MapStoreConfig
MapStore configuration
Field Summary | |
---|---|
static int |
DEFAULT_WRITE_DELAY_SECONDS
|
Constructor Summary | |
---|---|
MapStoreConfig()
|
Method Summary | |
---|---|
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 |
Properties |
getProperties()
|
String |
getProperty(String name)
|
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 |
void |
setProperties(Properties properties)
|
MapStoreConfig |
setProperty(String name,
String value)
|
MapStoreConfig |
setWriteDelaySeconds(int writeDelaySeconds)
Sets the number of seconds to delay before writing (storing) the dirty records |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_WRITE_DELAY_SECONDS
Constructor Detail |
---|
public MapStoreConfig()
Method Detail |
---|
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 delaypublic boolean isEnabled()
public MapStoreConfig setEnabled(boolean enabled)
enabled
- public MapStoreConfig setImplementation(Object implementation)
implementation
- implementation object
public Object getImplementation()
public MapStoreConfig setFactoryImplementation(Object factoryImplementation)
factoryImplementation
- factory implementation object
public Object getFactoryImplementation()
public MapStoreConfig setProperty(String name, String value)
public String getProperty(String name)
public Properties getProperties()
public void setProperties(Properties properties)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |