java.lang.Object | |
↳ | org.apache.helix.api.Resource |
Represent a resource entity in helix cluster
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a resource
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get batch message mode
| |||||||||||
Get bucket size
| |||||||||||
Get the configuration of this resource
| |||||||||||
Get the external view of the resource
| |||||||||||
Get the resource id
| |||||||||||
Get the resource properties configuring rebalancing
| |||||||||||
Get the current resource assignment
| |||||||||||
Get the properties configuring scheduler tasks
| |||||||||||
Get a subunit that the resource contains
| |||||||||||
Get the subunits of the resource
| |||||||||||
Get the set of subunit ids that the resource contains
| |||||||||||
Get user-specified configuration properties of this resource
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Construct a resource
id | resource id |
---|---|
type | ResourceType type |
idealState | ideal state of the resource |
resourceAssignment | current resource assignment of the cluster |
externalView | external view of the resource |
rebalancerConfig | parameters that the rebalancer should be aware of |
userConfig | any resource user-defined configuration |
bucketSize | the bucket size to use for physically saved state |
batchMessageMode | true if batch messaging allowed, false otherwise |
Get batch message mode
Get bucket size
Get the configuration of this resource
Get the external view of the resource
Get the resource properties configuring rebalancing
Get the current resource assignment
Get the properties configuring scheduler tasks
Get a subunit that the resource contains
subUnitId | the subunit id to look up |
---|
Get the subunits of the resource
Get the set of subunit ids that the resource contains
Get user-specified configuration properties of this resource