public class SingletonStoreConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
enabled |
private long |
pushStateTimeout |
private boolean |
pushStateWhenCoordinator |
Constructor and Description |
---|
SingletonStoreConfiguration(boolean enabled,
long pushStateTimeout,
boolean pushStateWhenCoordinator) |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
If true, the singleton store cache store is enabled.
|
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.
|
boolean |
pushStateWhenCoordinator()
If true, when a node becomes the coordinator, it will transfer in-memory state to the
underlying cache store.
|
java.lang.String |
toString() |
private final boolean enabled
private final long pushStateTimeout
private final boolean pushStateWhenCoordinator
SingletonStoreConfiguration(boolean enabled, long pushStateTimeout, boolean pushStateWhenCoordinator)
public boolean enabled()
public long pushStateTimeout()
public boolean pushStateWhenCoordinator()
public java.lang.String toString()
toString
in class java.lang.Object