Class SingletonStoreConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.SingletonStoreConfiguration
-
- All Implemented Interfaces:
Matchable<SingletonStoreConfiguration>
@Deprecated public class SingletonStoreConfiguration extends Object implements Matchable<SingletonStoreConfiguration>
Deprecated.Singleton writers will be removed in 10.0. If it is desirable that all nodes don't write to the underlying store then a shared store should be used instead, as this only performs store writes at a key's primary owner.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.- Author:
- pmuir
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<Boolean>ENABLEDDeprecated.static AttributeDefinition<Long>PUSH_STATE_TIMEOUTDeprecated.static AttributeDefinition<Boolean>PUSH_STATE_WHEN_COORDINATORDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AttributeSetattributeDefinitionSet()Deprecated.AttributeSetattributes()Deprecated.booleanenabled()Deprecated.If true, the singleton store cache store is enabled.booleanequals(Object obj)Deprecated.inthashCode()Deprecated.longpushStateTimeout()Deprecated.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.booleanpushStateWhenCoordinator()Deprecated.If true, when a node becomes the coordinator, it will transfer in-memory state to the underlying cache store.StringtoString()Deprecated.
-
-
-
Field Detail
-
ENABLED
public static final AttributeDefinition<Boolean> ENABLED
Deprecated.
-
PUSH_STATE_TIMEOUT
public static final AttributeDefinition<Long> PUSH_STATE_TIMEOUT
Deprecated.
-
PUSH_STATE_WHEN_COORDINATOR
public static final AttributeDefinition<Boolean> PUSH_STATE_WHEN_COORDINATOR
Deprecated.
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
Deprecated.
-
enabled
public boolean enabled()
Deprecated.If true, the singleton store cache store is enabled.
-
pushStateTimeout
public long pushStateTimeout()
Deprecated.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.
-
pushStateWhenCoordinator
public boolean pushStateWhenCoordinator()
Deprecated.If true, when a node becomes the coordinator, it will transfer in-memory state to the underlying cache store. This can be very useful in situations where the coordinator crashes and there's a gap in time until the new coordinator is elected.
-
attributes
public AttributeSet attributes()
Deprecated.
-
-