@ThreadSafe public class ConfigHash extends Object
Constructor and Description |
---|
ConfigHash(String clusterConfigHash,
String pathConfigHash,
long clusterConfigLastUpdateTime,
long pathConfigLastUpdateTime)
Constructs a new ConfigHash.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ConfigHash |
fromProto(GetConfigHashPResponse response) |
String |
getClusterConfigHash() |
long |
getClusterConfigLastUpdateTime() |
String |
getClusterConfigLastUpdateTimeText() |
String |
getPathConfigHash() |
long |
getPathConfigLastUpdateTime() |
String |
getPathConfigLastUpdateTimeText() |
int |
hashCode() |
GetConfigHashPResponse |
toProto() |
public ConfigHash(String clusterConfigHash, String pathConfigHash, long clusterConfigLastUpdateTime, long pathConfigLastUpdateTime)
clusterConfigHash
- cluster configuration hash, cannot be nullpathConfigHash
- path configuration hash, cannot be nullclusterConfigLastUpdateTime
- the cluster config last update timepathConfigLastUpdateTime
- path config last update timepublic static ConfigHash fromProto(GetConfigHashPResponse response)
response
- the grpc representation of configuration hashpublic GetConfigHashPResponse toProto()
public String getClusterConfigHash()
public String getPathConfigHash()
public long getClusterConfigLastUpdateTime()
public long getPathConfigLastUpdateTime()
public String getClusterConfigLastUpdateTimeText()
public String getPathConfigLastUpdateTimeText()
Copyright © 2023. All Rights Reserved.