java.lang.Object | |
↳ | org.apache.helix.api.Scope<T extends org.apache.helix.api.id.Id> |
Represents the scope of an object. For instance, a configuration can belong to a specific scope of cluster, participant, partition, or resource, but not more than one of these at any time.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Scope.ScopeType |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a cluster scope
| |||||||||||
Get the scope that is tracked
| |||||||||||
Get the Helix entity type that this scope covers
| |||||||||||
Get a participant scope
| |||||||||||
Get a partition scope
| |||||||||||
Get a resource scope
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get a cluster scope
clusterId | the id of the cluster that is scoped |
---|
Get the scope that is tracked
Get the Helix entity type that this scope covers
Get a participant scope
participantId | the id of the participant that is scoped |
---|
Get a partition scope
partitionId | the id of the partition that is scoped |
---|
Get a resource scope
resourceId | the id of the resource that is scoped |
---|