public static enum EmbeddedDatasetManagerBuilder.PersistenceMode extends java.lang.Enum<EmbeddedDatasetManagerBuilder.PersistenceMode>
Enum Constant and Description |
---|
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.
|
HYBRID
Some data is stored in-memory.
|
INMEMORY
All data is stored in-memory, disk is used purely for persistence.
|
Modifier and Type | Method and Description |
---|---|
PersistentStorageType |
getStorageType() |
static EmbeddedDatasetManagerBuilder.PersistenceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmbeddedDatasetManagerBuilder.PersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbeddedDatasetManagerBuilder.PersistenceMode INMEMORY
public static final EmbeddedDatasetManagerBuilder.PersistenceMode HYBRID
public static final EmbeddedDatasetManagerBuilder.PersistenceMode DELEGATED
public static EmbeddedDatasetManagerBuilder.PersistenceMode[] values()
for (EmbeddedDatasetManagerBuilder.PersistenceMode c : EmbeddedDatasetManagerBuilder.PersistenceMode.values()) System.out.println(c);
public static EmbeddedDatasetManagerBuilder.PersistenceMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic PersistentStorageType getStorageType()