public class PersistenceConfiguration extends java.lang.Object implements Matchable<PersistenceConfiguration>, ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<java.lang.Integer> |
AVAILABILITY_INTERVAL |
static AttributeDefinition<java.lang.Integer> |
CONNECTION_ATTEMPTS |
static AttributeDefinition<java.lang.Integer> |
CONNECTION_INTERVAL |
static AttributeDefinition<java.lang.Boolean> |
PASSIVATION |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
attributes() |
int |
availabilityInterval() |
int |
connectionAttempts() |
int |
connectionInterval() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
fetchPersistentState()
Loops through all individual cache loader configs and checks if fetchPersistentState is set on
any of them
|
ElementDefinition |
getElementDefinition() |
int |
hashCode() |
boolean |
passivation()
If true, data is only written to the cache store when it is evicted from memory, a phenomenon
known as 'passivation'.
|
java.lang.Boolean |
preload()
Loops through all individual cache loader configs and checks if preload is set on
any of them
|
java.util.List<StoreConfiguration> |
stores() |
java.util.List<ConfigurationInfo> |
subElements() |
java.lang.String |
toString() |
boolean |
usingAsyncStore() |
boolean |
usingStores() |
public static final AttributeDefinition<java.lang.Boolean> PASSIVATION
public static final AttributeDefinition<java.lang.Integer> AVAILABILITY_INTERVAL
public static final AttributeDefinition<java.lang.Integer> CONNECTION_ATTEMPTS
public static final AttributeDefinition<java.lang.Integer> CONNECTION_INTERVAL
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public boolean passivation()
public int availabilityInterval()
public int connectionAttempts()
public int connectionInterval()
public java.util.List<StoreConfiguration> stores()
public java.lang.Boolean fetchPersistentState()
public java.lang.Boolean preload()
public boolean usingStores()
public boolean usingAsyncStore()
public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public java.util.List<ConfigurationInfo> subElements()
subElements in interface ConfigurationInfopublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object