Package alluxio.wire
Class TieredIdentity.LocalityTier
- java.lang.Object
-
- alluxio.wire.TieredIdentity.LocalityTier
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- TieredIdentity
public static final class TieredIdentity.LocalityTier extends java.lang.Object implements java.io.Serializable
Class representing a locality tier, e.g. (host: hostname).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalityTier(java.lang.String tierName, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getTierName()
java.lang.String
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getTierName
public java.lang.String getTierName()
- Returns:
- the name of the tier
-
getValue
@Nullable public java.lang.String getValue()
- Returns:
- the value
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-