public class AbstractStoreConfiguration extends java.lang.Object implements StoreConfiguration, ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
protected AttributeSet |
attributes |
static AttributeDefinition<java.lang.Boolean> |
FETCH_PERSISTENT_STATE |
static AttributeDefinition<java.lang.Boolean> |
IGNORE_MODIFICATIONS |
static AttributeDefinition<java.lang.Integer> |
MAX_BATCH_SIZE |
static AttributeDefinition<java.lang.Boolean> |
PRELOAD |
static AttributeDefinition<TypedProperties> |
PROPERTIES |
static AttributeDefinition<java.lang.Boolean> |
PURGE_ON_STARTUP |
static AttributeDefinition<java.lang.Boolean> |
SEGMENTED |
static AttributeDefinition<java.lang.Boolean> |
SHARED |
static AttributeDefinition<java.lang.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,
java.util.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(java.lang.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() |
java.util.Properties |
properties() |
boolean |
purgeOnStartup()
If true, purges this cache store when it starts up.
|
boolean |
segmented()
Whether or not this store is configured to be segmented.
|
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.
|
java.util.List<ConfigurationInfo> |
subElements() |
java.lang.String |
toString() |
boolean |
transactional() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetElementDefinitionpublic static final AttributeDefinition<java.lang.Boolean> FETCH_PERSISTENT_STATE
public static final AttributeDefinition<java.lang.Boolean> PURGE_ON_STARTUP
public static final AttributeDefinition<java.lang.Boolean> IGNORE_MODIFICATIONS
public static final AttributeDefinition<java.lang.Boolean> PRELOAD
public static final AttributeDefinition<java.lang.Boolean> SHARED
public static final AttributeDefinition<java.lang.Boolean> TRANSACTIONAL
public static final AttributeDefinition<java.lang.Integer> MAX_BATCH_SIZE
public static final AttributeDefinition<java.lang.Boolean> SEGMENTED
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,
java.util.Properties properties)
public AbstractStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
public static AttributeSet attributeDefinitionSet()
public java.util.List<ConfigurationInfo> subElements()
subElements in interface ConfigurationInfopublic 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 segmented()
StoreConfigurationsegmented in interface StoreConfigurationpublic boolean fetchPersistentState()
fetchPersistentState in interface StoreConfigurationpublic boolean ignoreModifications()
ignoreModifications in interface StoreConfigurationpublic boolean preload()
preload in interface StoreConfigurationpublic java.util.Properties properties()
properties in interface StoreConfigurationpublic AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object