java.lang.Object | |
↳ | org.apache.helix.api.config.ParticipantConfig |
Configuration properties of a Helix participant
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ParticipantConfig.Builder | Assemble a participant | ||||||||||
ParticipantConfig.Delta | Update context for a ParticipantConfig |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initialize a participant configuration.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get disabled partition id's
| |||||||||||
Get the host name of the participant
| |||||||||||
Get the participant id
| |||||||||||
Get the port of the participant
| |||||||||||
Get tags
| |||||||||||
Get user-specified configuration properties of this participant
| |||||||||||
Check if participant has a tag
| |||||||||||
Get if the participant is enabled
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Initialize a participant configuration. Also see ParticipantConfig.Builder
id | participant id |
---|---|
hostName | host where participant can be reached |
port | port to use to contact participant |
isEnabled | true if enabled, false if disabled |
disabledPartitions | set of partitions, if any to disable on this participant |
tags | tags to set for the participant |
Get disabled partition id's
Get the host name of the participant
Get the port of the participant
Get user-specified configuration properties of this participant
Check if participant has a tag
tag | tag to check |
---|
Get if the participant is enabled