java.lang.Object | |
↳ | org.apache.helix.ConfigAccessor |
Provides access to the persistent configuration of the cluster, the instances that live on it, and the logical resources assigned to it.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initialize an accessor with a Zookeeper client
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
replaced by
get(HelixConfigScope, String) | |||||||||||
get a single config entry
| |||||||||||
This method is deprecated.
replaced by #get(HelixConfigScope, List
| |||||||||||
get many config entries
| |||||||||||
Get list of config keys for a scope
| |||||||||||
This method is deprecated.
replaced by
getKeys(HelixConfigScope) | |||||||||||
Remove multiple configs
| |||||||||||
Remove a single config
| |||||||||||
This method is deprecated.
replaced by #remove(HelixConfigScope, List
| |||||||||||
This method is deprecated.
replaced by
remove(HelixConfigScope, String) | |||||||||||
This method is deprecated.
replaced by
set(HelixConfigScope, String, String) | |||||||||||
Set config, creating it if it doesn't exist
| |||||||||||
This method is deprecated.
replaced by #set(HelixConfigScope, Map
| |||||||||||
Set multiple configs, creating them if they don't exist
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This method is deprecated.
replaced by get(HelixConfigScope, String)
get config
get a single config entry
scope | specification of the entity set to query (e.g. cluster, resource, participant, etc.) |
---|---|
key | the identifier of the configuration entry |
This method is deprecated.
replaced by #get(HelixConfigScope, List
get configs
get many config entries
scope | scope specification of the entity set to query (e.g. cluster, resource, participant, etc.) |
---|---|
keys | the identifiers of the configuration entries |
Get list of config keys for a scope
Remove multiple configs
scope | scope specification of the entity set to query (e.g. cluster, resource, participant, etc.) |
---|---|
keys | the identifiers of the configuration entries |
Remove a single config
scope | scope specification of the entity set to query (e.g. cluster, resource, participant, etc.) |
---|---|
key | the identifier of the configuration entry |
This method is deprecated.
replaced by #remove(HelixConfigScope, List
remove configs
This method is deprecated.
replaced by set(HelixConfigScope, String, String)
Set config, create if not exist
Set config, creating it if it doesn't exist
scope | scope specification of the entity set to query (e.g. cluster, resource, participant, etc.) |
---|---|
key | the identifier of the configuration entry |
value | the configuration |
This method is deprecated.
replaced by #set(HelixConfigScope, Map
Set configs, create if not exist
Set multiple configs, creating them if they don't exist
scope | scope specification of the entity set to query (e.g. cluster, resource, participant, etc.) |
---|---|
keyValueMap | configurations organized by their identifiers |