java.lang.Object | ||
↳ | org.apache.helix.HelixProperty | |
↳ | org.apache.helix.model.InstanceConfig |
Instance configurations
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
InstanceConfig.InstanceConfigProperty | Configurable characteristics of an instance |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.helix.HelixProperty
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate for a specific instance
| |||||||||||
Instantiate for a specific instance
| |||||||||||
Instantiate with a pre-populated record
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a tag to this instance
| |||||||||||
Check if an instance contains a tag
| |||||||||||
Get the partitions disabled by this instance
| |||||||||||
Get the host name of the instance
| |||||||||||
Check if this instance is enabled and able to serve replicas
| |||||||||||
Check if this instance is enabled for a given partition
| |||||||||||
Get the name of this instance
| |||||||||||
Get the identifier of this participant
| |||||||||||
Get the port that the instance can be reached at
| |||||||||||
Get arbitrary tags associated with the instance
| |||||||||||
Get a backward-compatible participant user config
| |||||||||||
Get property validity
| |||||||||||
Remove a tag from this instance
| |||||||||||
Set the host name of the instance
| |||||||||||
Set the enabled state of the instance
| |||||||||||
Set the enabled state for a partition on this instance
| |||||||||||
Set the enabled state for a partition on this instance
| |||||||||||
Set the port that the instance can be reached at
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.helix.HelixProperty
| |||||||||||
From class
java.lang.Object
|
Instantiate for a specific instance
instanceId | the instance identifier |
---|
Instantiate for a specific instance
participantId | the instance identifier |
---|
Instantiate with a pre-populated record
record | a ZNRecord corresponding to an instance configuration |
---|
Add a tag to this instance
tag | an arbitrary property of the instance |
---|
Check if an instance contains a tag
tag | the tag to check |
---|
Get the partitions disabled by this instance
Check if this instance is enabled and able to serve replicas
Check if this instance is enabled for a given partition
partition | the partition name to check |
---|
Get the identifier of this participant
Get arbitrary tags associated with the instance
Get a backward-compatible participant user config
Get property validity
Remove a tag from this instance
tag | a property of this instance |
---|
Set the host name of the instance
hostName | the host name |
---|
Set the enabled state of the instance
enabled | true to enable, false to disable |
---|
Set the enabled state for a partition on this instance
partitionName | the partition to set |
---|---|
enabled | true to enable, false to disable |
Set the enabled state for a partition on this instance
partitionId | the partition to set |
---|---|
enabled | true to enable, false to disable |
Set the port that the instance can be reached at
port | the port |
---|