Package com.terracottatech.store.manager
Enum Class EmbeddedDatasetManagerBuilder.PersistenceMode
java.lang.Object
java.lang.Enum<EmbeddedDatasetManagerBuilder.PersistenceMode>
com.terracottatech.store.manager.EmbeddedDatasetManagerBuilder.PersistenceMode
- All Implemented Interfaces:
Serializable
,Comparable<EmbeddedDatasetManagerBuilder.PersistenceMode>
,Constable
- Enclosing interface:
- EmbeddedDatasetManagerBuilder
public static enum EmbeddedDatasetManagerBuilder.PersistenceMode
extends Enum<EmbeddedDatasetManagerBuilder.PersistenceMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe storage type specification is delegated to the dataset API for possibility of richer specification of storage types and to bring consistency between the clustered and embedded APIs.Some data is stored in-memory.All data is stored in-memory, disk is used purely for persistence. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INMEMORY
All data is stored in-memory, disk is used purely for persistence. -
HYBRID
Some data is stored in-memory. Read operations may be served by either disk or memory depending on the read in question. This mode of operation allows for the storage of more data than the configured offheap size. -
DELEGATED
The storage type specification is delegated to the dataset API for possibility of richer specification of storage types and to bring consistency between the clustered and embedded APIs.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getStorageType
-