public class AbstractStoreConfiguration extends Object implements StoreConfiguration
Modifier and Type | Field and Description |
---|---|
protected AttributeSet |
attributes |
static AttributeDefinition<Boolean> |
FETCH_PERSISTENT_STATE |
static AttributeDefinition<Boolean> |
IGNORE_MODIFICATIONS |
static AttributeDefinition<Integer> |
MAX_BATCH_SIZE |
static AttributeDefinition<Boolean> |
PRELOAD |
static AttributeDefinition<TypedProperties> |
PROPERTIES |
static AttributeDefinition<Boolean> |
PURGE_ON_STARTUP |
static AttributeDefinition<Boolean> |
SHARED |
static AttributeDefinition<Boolean> |
TRANSACTIONAL |
Constructor and Description |
---|
AbstractStoreConfiguration(AttributeSet attributes,
AsyncStoreConfiguration async,
SingletonStoreConfiguration singletonStore) |
AbstractStoreConfiguration(boolean purgeOnStartup,
boolean fetchPersistentState,
boolean ignoreModifications,
AsyncStoreConfiguration async,
SingletonStoreConfiguration singletonStore,
boolean preload,
boolean shared,
Properties properties)
Deprecated.
Use {@link AbstractStoreConfiguration#AbstractStoreConfiguration(AttributeSet, AsyncStoreConfiguration, SingletonStoreConfiguration) instead
|
Modifier and Type | Method and Description |
---|---|
AsyncStoreConfiguration |
async()
Configuration for the async cache loader.
|
static AttributeSet |
attributeDefinitionSet() |
AttributeSet |
attributes() |
boolean |
equals(Object obj) |
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.
|
int |
maxBatchSize() |
boolean |
preload() |
Properties |
properties() |
boolean |
purgeOnStartup()
If true, purges this cache store when it starts up.
|
boolean |
shared() |
SingletonStoreConfiguration |
singletonStore()
SingletonStore is a delegating store used for situations when only one instance in a cluster
should interact with the underlying store.
|
String |
toString() |
boolean |
transactional() |
public static final AttributeDefinition<Boolean> FETCH_PERSISTENT_STATE
public static final AttributeDefinition<Boolean> PURGE_ON_STARTUP
public static final AttributeDefinition<Boolean> IGNORE_MODIFICATIONS
public static final AttributeDefinition<Boolean> PRELOAD
public static final AttributeDefinition<Boolean> SHARED
public static final AttributeDefinition<Boolean> TRANSACTIONAL
public static final AttributeDefinition<Integer> MAX_BATCH_SIZE
public static final AttributeDefinition<TypedProperties> PROPERTIES
protected final AttributeSet attributes
@Deprecated public AbstractStoreConfiguration(boolean purgeOnStartup, boolean fetchPersistentState, boolean ignoreModifications, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore, boolean preload, boolean shared, Properties properties)
public AbstractStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
public static AttributeSet attributeDefinitionSet()
public AsyncStoreConfiguration async()
async
in interface StoreConfiguration
public SingletonStoreConfiguration singletonStore()
singletonStore
in interface StoreConfiguration
public boolean purgeOnStartup()
purgeOnStartup
in interface StoreConfiguration
public boolean shared()
shared
in interface StoreConfiguration
public boolean transactional()
transactional
in interface StoreConfiguration
public int maxBatchSize()
maxBatchSize
in interface StoreConfiguration
public boolean fetchPersistentState()
fetchPersistentState
in interface StoreConfiguration
public boolean ignoreModifications()
ignoreModifications
in interface StoreConfiguration
public boolean preload()
preload
in interface StoreConfiguration
public Properties properties()
properties
in interface StoreConfiguration
public AttributeSet attributes()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.