public class PersistenceConfiguration extends Object implements Matchable<PersistenceConfiguration>, ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<Integer> |
AVAILABILITY_INTERVAL |
static AttributeDefinition<Integer> |
CONNECTION_ATTEMPTS |
static AttributeDefinition<Integer> |
CONNECTION_INTERVAL |
static AttributeDefinition<Boolean> |
PASSIVATION |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
attributes() |
int |
availabilityInterval() |
int |
connectionAttempts() |
int |
connectionInterval() |
boolean |
equals(Object obj) |
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'.
|
Boolean |
preload()
Loops through all individual cache loader configs and checks if preload is set on
any of them
|
List<StoreConfiguration> |
stores() |
List<ConfigurationInfo> |
subElements() |
String |
toString() |
boolean |
usingAsyncStore() |
boolean |
usingSegmentedStore()
Returns if any store is
StoreConfiguration.segmented() |
boolean |
usingStores() |
public static final AttributeDefinition<Boolean> PASSIVATION
public static final AttributeDefinition<Integer> AVAILABILITY_INTERVAL
public static final AttributeDefinition<Integer> CONNECTION_ATTEMPTS
public static final AttributeDefinition<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 List<StoreConfiguration> stores()
public Boolean fetchPersistentState()
public Boolean preload()
public boolean usingStores()
public boolean usingAsyncStore()
public boolean usingSegmentedStore()
StoreConfiguration.segmented()public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public List<ConfigurationInfo> subElements()
subElements in interface ConfigurationInfoCopyright © 2021 JBoss by Red Hat. All rights reserved.