Enum Class DataLocality

java.lang.Object
java.lang.Enum<DataLocality>
org.infinispan.distribution.DataLocality
All Implemented Interfaces:
Serializable, Comparable<DataLocality>, Constable

public enum DataLocality extends Enum<DataLocality>
Deprecated.
Since 11.0. Will be removed in 14.0, no longer used.
Used to determine whether a key is mapped to a local node. Uncertainty indicates a rehash is in progress and the locality of key in question may be in flux.
Since:
4.2.1
Author:
Manik Surtani, Mircea Markus
  • Enum Constant Details Link icon

    • LOCAL Link icon

      public static final DataLocality LOCAL
      Deprecated.
    • NOT_LOCAL Link icon

      public static final DataLocality NOT_LOCAL
      Deprecated.
    • LOCAL_UNCERTAIN Link icon

      public static final DataLocality LOCAL_UNCERTAIN
      Deprecated.
    • NOT_LOCAL_UNCERTAIN Link icon

      public static final DataLocality NOT_LOCAL_UNCERTAIN
      Deprecated.
  • Method Details Link icon

    • values Link icon

      public static DataLocality[] values()
      Deprecated.
      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 Link icon

      public static DataLocality valueOf(String name)
      Deprecated.
      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
    • isLocal Link icon

      public boolean isLocal()
      Deprecated.
    • isUncertain Link icon

      public boolean isUncertain()
      Deprecated.