| Modifier and Type | Class and Description |
|---|---|
| public static enum | PersistenceConfiguration.Strategy
Enumeration of the legal persistence strategies |
| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | DEFAULT_SYNCHRONOUS_WRITES
Default synchronous writes setting |
| private volatile PersistenceConfiguration. | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PersistenceConfiguration. | |
| public boolean | |
| public void | |
| public void | setSynchronousWrites(boolean
the persistence write mode synchronousWrites)Sets the persistence write mode |
| public PersistenceConfiguration | Returns: this PersistenceConfiguration objectthe persistence strategy strategyBuilder method to set the persistence strategy |
| public PersistenceConfiguration | |
| public PersistenceConfiguration | Returns: this PersistenceConfiguration objectthe persistence write mode synchronousWrites)Builder method to set the persistence write mode |
| DEFAULT_SYNCHRONOUS_WRITES | back to summary |
|---|---|
| public static final boolean DEFAULT_SYNCHRONOUS_WRITES Default synchronous writes setting | |
| strategy | back to summary |
|---|---|
| private volatile PersistenceConfiguration. | |
| synchronousWrites | back to summary |
|---|---|
| private volatile boolean synchronousWrites | |
| PersistenceConfiguration | back to summary |
|---|---|
| public PersistenceConfiguration() | |
| getStrategy | back to summary |
|---|---|
| public PersistenceConfiguration. Gets the persistence strategy
| |
| getSynchronousWrites | back to summary |
|---|---|
| public boolean getSynchronousWrites() Gets the persistence write mode
| |
| setStrategy | back to summary |
|---|---|
| public void setStrategy(String strategy) Sets the persistence strategy
| |
| setSynchronousWrites | back to summary |
|---|---|
| public void setSynchronousWrites(boolean synchronousWrites) Sets the persistence write mode
| |
| strategy | back to summary |
|---|---|
| public PersistenceConfiguration strategy(PersistenceConfiguration. Builder method to set the persistence strategy
| |
| strategy | back to summary |
|---|---|
| public PersistenceConfiguration strategy(String strategy) Builder method to set the persistence strategy using a String object
| |
| synchronousWrites | back to summary |
|---|---|
| public PersistenceConfiguration synchronousWrites(boolean synchronousWrites) Builder method to set the persistence write mode
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PersistenceConfiguration. | DISTRIBUTED
Terracotta clustered persistence (requires a Terracotta clustered cache). |
| public static final PersistenceConfiguration. | LOCALRESTARTABLE
Enterprise fault tolerant persistence |
| public static final PersistenceConfiguration. | LOCALTEMPSWAP
Standard open source (non fault-tolerant) on-disk persistence |
| public static final PersistenceConfiguration. | NONE
No persistence |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PersistenceConfiguration. | |
| public static PersistenceConfiguration. |
| DISTRIBUTED | back to summary |
|---|---|
| public static final PersistenceConfiguration. Terracotta clustered persistence (requires a Terracotta clustered cache). | |
| LOCALRESTARTABLE | back to summary |
|---|---|
| public static final PersistenceConfiguration. Enterprise fault tolerant persistence | |
| LOCALTEMPSWAP | back to summary |
|---|---|
| public static final PersistenceConfiguration. Standard open source (non fault-tolerant) on-disk persistence | |
| NONE | back to summary |
|---|---|
| public static final PersistenceConfiguration. No persistence | |
| Strategy | back to summary |
|---|---|
| private Strategy() | |
| valueOf | back to summary |
|---|---|
| public static PersistenceConfiguration. | |
| values | back to summary |
|---|---|
| public static PersistenceConfiguration. | |