public abstract class AbstractStoreConfiguration extends AbstractLoaderConfiguration implements CacheStoreConfiguration
Modifier | Constructor and Description |
---|---|
protected |
AbstractStoreConfiguration(boolean purgeOnStartup,
boolean purgeSynchronously,
int purgerThreads,
boolean fetchPersistentState,
boolean ignoreModifications,
TypedProperties properties,
AsyncStoreConfiguration async,
SingletonStoreConfiguration singletonStore) |
Modifier and Type | Method and Description |
---|---|
AsyncStoreConfiguration |
async()
Configuration for the async cache loader.
|
boolean |
equals(Object o) |
boolean |
fetchPersistentState()
If true, fetch persistent state when joining a cluster.
|
int |
hashCode() |
boolean |
ignoreModifications()
If true, any operation that modifies the cache (put, remove, clear, store...etc) won't be
applied to the cache store.
|
boolean |
purgeOnStartup()
If true, purges this cache store when it starts up.
|
int |
purgerThreads()
The number of threads to use when purging asynchronously.
|
boolean |
purgeSynchronously()
If true, CacheStore#purgeExpired() call will be done synchronously
|
SingletonStoreConfiguration |
singletonStore()
SingletonStore is a delegating cache store used for situations when only one instance in a
cluster should interact with the underlying store.
|
properties
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
properties
protected AbstractStoreConfiguration(boolean purgeOnStartup, boolean purgeSynchronously, int purgerThreads, boolean fetchPersistentState, boolean ignoreModifications, TypedProperties properties, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
public AsyncStoreConfiguration async()
async
in interface CacheStoreConfiguration
public SingletonStoreConfiguration singletonStore()
singletonStore
in interface CacheStoreConfiguration
public boolean purgeOnStartup()
purgeOnStartup
in interface CacheStoreConfiguration
public boolean purgeSynchronously()
purgeSynchronously
in interface CacheStoreConfiguration
public int purgerThreads()
purgerThreads
in interface CacheStoreConfiguration
public boolean fetchPersistentState()
fetchPersistentState
in interface CacheStoreConfiguration
public boolean ignoreModifications()
ignoreModifications
in interface CacheStoreConfiguration
public boolean equals(Object o)
equals
in class AbstractTypedPropertiesConfiguration
public int hashCode()
hashCode
in class AbstractTypedPropertiesConfiguration
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.