Enum Class HashIndexPriority

java.lang.Object
java.lang.Enum<HashIndexPriority>
com.scaleout.client.caching.query.HashIndexPriority
All Implemented Interfaces:
Serializable, Comparable<HashIndexPriority>, Constable

public enum HashIndexPriority extends Enum<HashIndexPriority>
This enum allows sorting of hashed attributes by priority. All hashed attributes are sorted by priority and the top NUM_CACHED_ATTRIBUTES of them are actually hashed in the server.
  • Enum Constant Details

    • NotHashable

      public static final HashIndexPriority NotHashable
      The item in the CacheObjectAttribute refers to is never entered into the StateServer Hashtable.
    • Hashable

      public static final HashIndexPriority Hashable
      The item the CacheObjectAttribute refers to will be entered into the in-memory datagrid hashtable if there's room after attempting to hash all higher priority items.
    • HighPriorityHashable

      public static final HashIndexPriority HighPriorityHashable
      The item the CacheObjectAttribute refers to will be entered into the StateServer Hashtable if there's room. Items with this priority will take precedence over any items marked Hashable.
  • Method Details

    • values

      public static HashIndexPriority[] 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

      public static HashIndexPriority valueOf(String name)
      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