java.lang.Object | |
↳ | org.apache.helix.api.accessor.ResourceAccessor |
Known Direct Subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
drop external view of a resource
| |||||||||||
Clear any user-specified configuration from the resource
| |||||||||||
Generate a default assignment for partitioned resources
| |||||||||||
Get a resource configuration, which may include user-defined configuration, as well as
rebalancer configuration
| |||||||||||
get resource assignment
| |||||||||||
get the external view of a resource
| |||||||||||
Read the rebalancer config of the resource
| |||||||||||
Read a single snapshot of a resource
| |||||||||||
Read the user config of the resource
| |||||||||||
reset resources for all participants
| |||||||||||
set external view of a resource
| |||||||||||
Set the config of the rebalancer.
| |||||||||||
Persist an existing resource's logical configuration
| |||||||||||
save resource assignment
| |||||||||||
Set the user config of the resource, overwriting existing user configs
| |||||||||||
Update a resource configuration
| |||||||||||
Add user configuration to the existing resource user configuration.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a ParticipantAccessor instance
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
drop external view of a resource
Clear any user-specified configuration from the resource
resourceId | the resource to update |
---|
Generate a default assignment for partitioned resources
resourceId | the resource to update |
---|---|
replicaCount | the new replica count (or -1 to use the existing one) |
participantGroupTag | the new participant group tag (or null to use the existing one) |
Get a resource configuration, which may include user-defined configuration, as well as rebalancer configuration
get resource assignment
get the external view of a resource
resourceId | the resource to look up |
---|
Read the rebalancer config of the resource
resourceId | the resource to to look up |
---|
Read a single snapshot of a resource
resourceId | the resource id to read |
---|
Read the user config of the resource
resourceId | the resource to to look up |
---|
reset resources for all participants
resetResourceIdSet | the resources to reset |
---|
set external view of a resource
Set the config of the rebalancer. This includes all properties required for rebalancing this resource
resourceId | the resource to update |
---|---|
config | the new rebalancer config |
Persist an existing resource's logical configuration
resourceConfig | logical resource configuration |
---|
save resource assignment
Set the user config of the resource, overwriting existing user configs
resourceId | the resource to update |
---|---|
userConfig | the new user config |
Update a resource configuration
resourceId | the resource id to update |
---|---|
resourceDelta | changes to the resource |
Add user configuration to the existing resource user configuration. Overwrites properties with the same key
resourceId | the resource to update |
---|---|
userConfig | the user config key-value pairs to add |
Get a ParticipantAccessor instance