public class SingletonStoreDefaultConfig extends CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig
className, properties
log
Constructor and Description |
---|
SingletonStoreDefaultConfig()
Default constructor that sets default values for singleton store cache loader configuration taking in account
that this configuration belongs to the default singleton store cache loader implementation.
|
SingletonStoreDefaultConfig(CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig base)
Constructor that sets the assumed values for the default singleton store cache loader implementation and also
the properties, as per the properties section defined in the XML configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getPushStateWhenCoordinatorTimeout() |
String |
getSingletonStoreClass() |
int |
hashCode() |
boolean |
isPushStateWhenCoordinator() |
boolean |
isSingletonStoreEnabled() |
void |
setPushStateWhenCoordinator(boolean pushStateWhenCoordinator) |
void |
setPushStateWhenCoordinatorTimeout(int pushStateWhenCoordinatorTimeout) |
void |
setSingletonStoreClass(String singletonStoreClass) |
void |
setSingletonStoreEnabled(boolean singletonStoreEnabled) |
void |
setSingletonStoreproperties(Properties props)
Takes the properties defined and populates the individual instance fields of the default singleton store cache
loader configuration.
|
clone, getSingletonStoreproperties, toString
getClassName, getProperties, setClassName, setProperties, setProperties
addChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutability
public SingletonStoreDefaultConfig()
public SingletonStoreDefaultConfig(CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig base)
base
- contains properties set in XML configurationpublic boolean isSingletonStoreEnabled()
public void setSingletonStoreEnabled(boolean singletonStoreEnabled)
public String getSingletonStoreClass()
public void setSingletonStoreClass(String singletonStoreClass)
public void setSingletonStoreproperties(Properties props)
setSingletonStoreproperties
in class CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig
props
- is an instance of Properties containing these values.public boolean isPushStateWhenCoordinator()
public void setPushStateWhenCoordinator(boolean pushStateWhenCoordinator)
public int getPushStateWhenCoordinatorTimeout()
public void setPushStateWhenCoordinatorTimeout(int pushStateWhenCoordinatorTimeout)
public boolean equals(Object obj)
equals
in class CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig
public int hashCode()
hashCode
in class CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.