public class SingletonStoreConfig extends AbstractDecoratorConfigurationBean
Modifier and Type | Field and Description |
---|---|
protected Boolean |
enabled |
protected Long |
pushStateTimeout |
protected Boolean |
pushStateWhenCoordinator |
cr
overriddenConfigurationElements
Constructor and Description |
---|
SingletonStoreConfig() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ConfigurationBeanVisitor v) |
SingletonStoreConfig |
clone() |
SingletonStoreConfig |
enabled(Boolean singletonStoreEnabled)
If true, the singleton store cache store is enabled.
|
Long |
getPushStateTimeout() |
Boolean |
isPushStateWhenCoordinator() |
Boolean |
isSingletonStoreEnabled() |
SingletonStoreConfig |
pushStateTimeout(Long pushStateTimeout)
If pushStateWhenCoordinator is true, this property sets the maximum number of milliseconds
that the process of pushing the in-memory state to the underlying cache loader should take.
|
SingletonStoreConfig |
pushStateWhenCoordinator(Boolean pushStateWhenCoordinator)
If true, when a node becomes the coordinator, it will transfer in-memory state to the
underlying cache store.
|
void |
setPushStateTimeout(Long pushStateTimeout)
Deprecated.
The visibility of this method will be reduced. Use
pushStateTimeout(Long) instead. |
void |
setPushStateWhenCoordinator(Boolean pushStateWhenCoordinator)
Deprecated.
The visibility of this method will be reduced. Use
pushStateWhenCoordinator(Boolean) instead. |
void |
setSingletonStoreEnabled(Boolean singletonStoreEnabled)
Deprecated.
The visibility of this method will be reduced. Use
CacheStoreConfig.singletonStore() instead. |
asyncStore, build, fetchPersistentState, getAsyncStoreConfig, getCacheLoaderClassName, getClassLoader, getPurgerThreads, getSingletonStoreConfig, ignoreModifications, isFetchPersistentState, isIgnoreModifications, isPurgeOnStartup, isPurgeSynchronously, purgeOnStartup, purgerThreads, purgeSynchronously, setAsyncStoreConfig, setCacheLoaderClassName, setCacheStoreConfig, setFetchPersistentState, setIgnoreModifications, setPurgeOnStartup, setPurgeSynchronously, setSingletonStoreConfig, singletonStore
hasComponentStarted, inject
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
protected Boolean enabled
protected Boolean pushStateWhenCoordinator
protected Long pushStateTimeout
public Boolean isSingletonStoreEnabled()
@Deprecated public void setSingletonStoreEnabled(Boolean singletonStoreEnabled)
CacheStoreConfig.singletonStore()
instead.singletonStoreEnabled
- public SingletonStoreConfig enabled(Boolean singletonStoreEnabled)
singletonStoreEnabled
- public Boolean isPushStateWhenCoordinator()
@Deprecated public void setPushStateWhenCoordinator(Boolean pushStateWhenCoordinator)
pushStateWhenCoordinator(Boolean)
instead.pushStateWhenCoordinator
- public SingletonStoreConfig pushStateWhenCoordinator(Boolean pushStateWhenCoordinator)
pushStateWhenCoordinator
- public Long getPushStateTimeout()
@Deprecated public void setPushStateTimeout(Long pushStateTimeout)
pushStateTimeout(Long)
instead.pushStateTimeout
- public SingletonStoreConfig pushStateTimeout(Long pushStateTimeout)
pushStateTimeout
- public SingletonStoreConfig clone()
clone
in interface CloneableConfigurationComponent
clone
in interface CacheLoaderConfig
clone
in class AbstractDecoratorConfigurationBean
public void accept(ConfigurationBeanVisitor v)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.