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 StoreConfigurationpublic SingletonStoreConfiguration singletonStore()
singletonStore in interface StoreConfigurationpublic boolean purgeOnStartup()
purgeOnStartup in interface StoreConfigurationpublic boolean shared()
shared in interface StoreConfigurationpublic boolean transactional()
transactional in interface StoreConfigurationpublic int maxBatchSize()
maxBatchSize in interface StoreConfigurationpublic boolean fetchPersistentState()
fetchPersistentState in interface StoreConfigurationpublic boolean ignoreModifications()
ignoreModifications in interface StoreConfigurationpublic boolean preload()
preload in interface StoreConfigurationpublic Properties properties()
properties in interface StoreConfigurationpublic AttributeSet attributes()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.