com.hazelcast.config
Class MapStoreConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.MapStoreConfig
      extended by com.hazelcast.config.MapStoreConfigReadOnly

public class MapStoreConfigReadOnly
extends MapStoreConfig


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_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 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
 
Methods inherited from class com.hazelcast.config.MapStoreConfig
getAsReadOnly, getClassName, getFactoryClassName, getFactoryImplementation, getImplementation, getInitialLoadMode, getProperties, getProperty, getWriteDelaySeconds, isEnabled, setInitialLoadMode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapStoreConfigReadOnly

public MapStoreConfigReadOnly(MapStoreConfig config)
Method Detail

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.