|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infinispan.config.AbstractConfigurationBean org.infinispan.config.AbstractNamedCacheConfigurationBean org.infinispan.loaders.decorators.AbstractDecoratorConfigurationBean org.infinispan.loaders.decorators.SingletonStoreConfig
public class SingletonStoreConfig
SingletonStore is a delegating cache store used for situations when only one instance in a cluster should interact with the underlying store. The coordinator of the cluster will be responsible for the underlying CacheStore. SingletonStore is a simply facade to a real CacheStore implementation. It always delegates reads to the real CacheStore.
Field Summary | |
---|---|
protected Boolean |
enabled
|
protected Long |
pushStateTimeout
|
protected Boolean |
pushStateWhenCoordinator
|
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
cr |
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
overriddenConfigurationElements |
Constructor Summary | |
---|---|
SingletonStoreConfig()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean |
---|
hasComponentStarted, inject |
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Boolean enabled
protected Boolean pushStateWhenCoordinator
protected Long pushStateTimeout
Constructor Detail |
---|
public SingletonStoreConfig()
Method Detail |
---|
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)
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |