public class PersistenceConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
passivation |
private java.util.List<StoreConfiguration> |
stores |
Constructor and Description |
---|
PersistenceConfiguration(boolean passivation,
java.util.List<StoreConfiguration> stores) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
fetchPersistentState()
Loops through all individual cache loader configs and checks if fetchPersistentState is set on
any of them
|
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.lang.String |
toString() |
boolean |
usingAsyncStore() |
boolean |
usingStores() |
private final boolean passivation
private final java.util.List<StoreConfiguration> stores
PersistenceConfiguration(boolean passivation, java.util.List<StoreConfiguration> stores)
public boolean passivation()
public java.util.List<StoreConfiguration> stores()
public java.lang.Boolean fetchPersistentState()
public java.lang.Boolean preload()
public boolean usingStores()
public boolean usingAsyncStore()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object