java.lang.Object | |
↳ | org.apache.helix.api.accessor.ParticipantAccessor |
Known Direct Subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
delete messages from participant
| |||||||||||
disable participant
| |||||||||||
disable partitions on a participant
| |||||||||||
drop resource current state of a participant
| |||||||||||
Clear any user-specified configuration from the participant
| |||||||||||
enable participant
| |||||||||||
enable partitions on a participant
| |||||||||||
Create empty persistent properties to ensure that there is a valid participant structure
| |||||||||||
create messages for participant
| |||||||||||
check if participant structure is valid
| |||||||||||
read participant related data
| |||||||||||
Read the user config of the participant
| |||||||||||
Reset partitions assigned to a set of participants
| |||||||||||
reset partitions on a participant
| |||||||||||
Set the configuration of an existing participant
| |||||||||||
Set the user config of the participant, overwriting existing user configs
| |||||||||||
Let a new participant take the place of an existing participant
| |||||||||||
update resource current state of a participant
| |||||||||||
set messages of participant
| |||||||||||
Update a participant configuration
| |||||||||||
Add user configuration to the existing participant user configuration.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a ResourceAccessor instance
| |||||||||||
Replace occurrences of participants in preference lists and maps
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
delete messages from participant
disable participant
disable partitions on a participant
drop resource current state of a participant
resourceId | resource id |
---|---|
participantId | participant id |
sessionId | session id |
Clear any user-specified configuration from the participant
participantId | the participant to update |
---|
enable participant
enable partitions on a participant
Create empty persistent properties to ensure that there is a valid participant structure
create messages for participant
msgMap | map of message-id to message |
---|
check if participant structure is valid
read participant related data
Read the user config of the participant
participantId | the participant to to look up |
---|
Reset partitions assigned to a set of participants
resetParticipantIdSet | the participants to reset |
---|
reset partitions on a participant
Set the configuration of an existing participant
participantConfig | participant configuration |
---|
Set the user config of the participant, overwriting existing user configs
participantId | the participant to update |
---|---|
userConfig | the new user config |
Let a new participant take the place of an existing participant
oldParticipantId | the participant to drop |
---|---|
newParticipantId | the participant that takes its place |
update resource current state of a participant
resourceId | resource id |
---|---|
participantId | participant id |
sessionId | session id |
curStateUpdate | current state change delta |
set messages of participant
msgMap | map of message-id to message |
---|
Update a participant configuration
participantId | the participant to update |
---|---|
participantDelta | changes to the participant |
Add user configuration to the existing participant user configuration. Overwrites properties with the same key
userConfig | the user config key-value pairs to add |
---|
Get a ResourceAccessor instance
Replace occurrences of participants in preference lists and maps
idealState | the current ideal state |
---|---|
oldParticipantId | the participant to drop |
newParticipantId | the participant that replaces it |