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>
  • Enum Constant Details

    • INMEMORY

      public static final EmbeddedDatasetManagerBuilder.PersistenceMode 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

      public static final EmbeddedDatasetManagerBuilder.PersistenceMode 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 name
      NullPointerException - if the argument is null
    • getStorageType

      public PersistentStorageType getStorageType()