@ThreadSafe public final class Configuration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Configuration.Builder
Configuration builder.
|
Modifier and Type | Method and Description |
---|---|
static Configuration |
fromProto(GetConfigurationPResponse conf) |
List<Property> |
getClusterConf() |
String |
getClusterConfHash() |
long |
getClusterConfLastUpdateTime() |
Map<String,List<Property>> |
getPathConf() |
String |
getPathConfHash() |
long |
getPathConfLastUpdateTime() |
static Configuration.Builder |
newBuilder() |
GetConfigurationPResponse |
toProto() |
public static Configuration.Builder newBuilder()
public static Configuration fromProto(GetConfigurationPResponse conf)
conf
- the grpc representation of configurationpublic GetConfigurationPResponse toProto()
public List<Property> getClusterConf()
public Map<String,List<Property>> getPathConf()
public String getClusterConfHash()
public String getPathConfHash()
public long getClusterConfLastUpdateTime()
public long getPathConfLastUpdateTime()
Copyright © 2023. All Rights Reserved.