java.lang.Object | |
↳ | org.apache.helix.controller.context.ControllerContextProvider |
An interface for getting and setting ControllerContext
objects, which will eventually
be persisted and accessible across runs of the controller pipeline.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate with already-persisted controller contexts
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check if a context exists
| |||||||||||
Get a typed ControllerContext
| |||||||||||
Get a base ControllerContext
| |||||||||||
Get all contexts, both persisted and pending
| |||||||||||
Get all contexts that have been put, but not yet persisted
| |||||||||||
Get all context ids that have been marked for removal
| |||||||||||
Put a controller context, overwriting any existing ones
| |||||||||||
Put a controller context, specifying overwrite behavior
| |||||||||||
Remove a controller context
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Instantiate with already-persisted controller contexts
Check if a context exists
contextId | the id to look up |
---|
Get a typed ControllerContext
contextId | the context id to look up |
---|---|
contextClass | the class which the context should be returned as |
Get a base ControllerContext
contextId | the context id to look up |
---|
Get all contexts, both persisted and pending
Get all contexts that have been put, but not yet persisted
Get all context ids that have been marked for removal
Put a controller context, overwriting any existing ones
contextId | the id to set |
---|---|
context | the context object |
Put a controller context, specifying overwrite behavior
contextId | the id to set |
---|---|
context | the context object |
overwriteAllowed | true if existing objects can be overwritten, false otherwise |
Remove a controller context
contextId | the id to remove |
---|