Package alluxio.wire
Class ConfigHash
- java.lang.Object
-
- alluxio.wire.ConfigHash
-
@ThreadSafe public class ConfigHash extends java.lang.Object
Hashes of cluster and path level configurations.
-
-
Constructor Summary
Constructors Constructor Description ConfigHash(java.lang.String clusterConfigHash, java.lang.String pathConfigHash)
Constructs a new ConfigHash.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ConfigHash
fromProto(alluxio.grpc.GetConfigHashPResponse response)
java.lang.String
getClusterConfigHash()
java.lang.String
getPathConfigHash()
int
hashCode()
alluxio.grpc.GetConfigHashPResponse
toProto()
-
-
-
Method Detail
-
fromProto
public static ConfigHash fromProto(alluxio.grpc.GetConfigHashPResponse response)
- Parameters:
response
- the grpc representation of configuration hash- Returns:
- the wire representation of the proto response
-
toProto
public alluxio.grpc.GetConfigHashPResponse toProto()
- Returns:
- the proto representation
-
getClusterConfigHash
public java.lang.String getClusterConfigHash()
- Returns:
- hash of cluster level configuration
-
getPathConfigHash
public java.lang.String getPathConfigHash()
- Returns:
- hash of path level configuration
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-