public class SingletonStoreConfigurationBuilder<S> extends AbstractStoreConfigurationChildBuilder<S>
Modifier and Type | Field and Description |
---|---|
private boolean |
enabled |
private long |
pushStateTimeout |
private boolean |
pushStateWhenCoordinator |
Constructor and Description |
---|
SingletonStoreConfigurationBuilder(AbstractStoreConfigurationBuilder<? extends AbstractStoreConfiguration,?> builder) |
Modifier and Type | Method and Description |
---|---|
SingletonStoreConfiguration |
create() |
SingletonStoreConfigurationBuilder<S> |
disable()
Enable the singleton store cache store
|
SingletonStoreConfigurationBuilder<S> |
enable()
Enable the singleton store cache store
|
SingletonStoreConfigurationBuilder<S> |
enabled(boolean enabled)
If true, the singleton store cache store is enabled.
|
SingletonStoreConfigurationBuilder<S> |
pushStateTimeout(long l)
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.
|
SingletonStoreConfigurationBuilder<S> |
pushStateTimeout(long l,
java.util.concurrent.TimeUnit unit)
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.
|
SingletonStoreConfigurationBuilder<S> |
pushStateWhenCoordinator(boolean b)
If true, when a node becomes the coordinator, it will transfer in-memory state to the
underlying cache store.
|
SingletonStoreConfigurationBuilder<S> |
read(SingletonStoreConfiguration template) |
java.lang.String |
toString() |
void |
validate() |
addProperty, async, fetchPersistentState, ignoreModifications, preload, purgeOnStartup, shared, singleton, withProperties
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, getBuilder, indexing, invocationBatching, jmxStatistics, locking, persistence, sites, storeAsBinary, transaction, unsafe, versioning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, persistence, sites, storeAsBinary, transaction, unsafe, versioning
persistence
private boolean enabled
private long pushStateTimeout
private boolean pushStateWhenCoordinator
SingletonStoreConfigurationBuilder(AbstractStoreConfigurationBuilder<? extends AbstractStoreConfiguration,?> builder)
public SingletonStoreConfigurationBuilder<S> enable()
public SingletonStoreConfigurationBuilder<S> enabled(boolean enabled)
public SingletonStoreConfigurationBuilder<S> disable()
public SingletonStoreConfigurationBuilder<S> pushStateTimeout(long l)
public SingletonStoreConfigurationBuilder<S> pushStateTimeout(long l, java.util.concurrent.TimeUnit unit)
public SingletonStoreConfigurationBuilder<S> pushStateWhenCoordinator(boolean b)
public void validate()
public SingletonStoreConfiguration create()
public SingletonStoreConfigurationBuilder<S> read(SingletonStoreConfiguration template)
public java.lang.String toString()
toString
in class java.lang.Object