java.lang.Object | |
↳ | org.apache.helix.api.config.ResourceConfig |
Full configuration of a Helix resource. Typically used to add or modify resources on a cluster
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ResourceConfig.Builder | Assembles a ResourceConfig | ||||||||||
ResourceConfig.Delta | Update context for a ResourceConfig | ||||||||||
ResourceConfig.ResourceType | Type of a resource. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a configuration.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the batch message mode
| |||||||||||
Get the bucket size for this resource
| |||||||||||
Get the resource id
| |||||||||||
Get the resource properties configuring rebalancing
| |||||||||||
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 the resource type
| |||||||||||
Get user-specified configuration properties of this resource
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Instantiate a configuration. Consider using ResourceConfig.Builder
id | resource id |
---|---|
schedulerTaskConfig | configuration for scheduler tasks associated with the resource |
rebalancerConfig | configuration for rebalancing the resource |
userConfig | user-defined resource properties |
bucketSize | bucket size for this resource |
batchMessageMode | whether or not batch messaging is allowed |
Get the batch message mode
Get the bucket size for this resource
Get the resource properties configuring rebalancing
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