Package org.infinispan.distribution
Enum DataLocality
- All Implemented Interfaces:
Serializable
,Comparable<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 Summary
Enum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isLocal()
Deprecated.boolean
Deprecated.static DataLocality
Deprecated.Returns the enum constant of this type with the specified name.static DataLocality[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOCAL
Deprecated. -
NOT_LOCAL
Deprecated. -
LOCAL_UNCERTAIN
Deprecated. -
NOT_LOCAL_UNCERTAIN
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
isLocal
public boolean isLocal()Deprecated. -
isUncertain
public boolean isUncertain()Deprecated.
-