|
IBM WebSphere® DataPower® XC10 Appliance Release 1.0 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateManager
The StateManager can be used to retrieve the availability state of an ObjectGrid. Use the
StateManagerFactory#getStateManager()
method to retrieve a StateManager instance.
Method Summary | |
---|---|
AvailabilityState |
getObjectGridState(ObjectGrid objectGrid)
Get the AvailabilityState of an ObjectGrid. |
void |
setObjectGridState(AvailabilityState state,
ObjectGrid objectGrid)
Set the AvailabilityState for an ObjectGrid. |
Method Detail |
---|
AvailabilityState getObjectGridState(ObjectGrid objectGrid)
objectGrid
- the availability state of the specified remote ObjectGrid will be retrieved
IllegalArgumentException.
- If parameter objectGrid, is either null or it is of type 'LOCAL'. See ObjectGrid.getObjectGridType()
.
TargetNotAvailableException
- if there are no active shards for the ObjectGrid specified.void setObjectGridState(AvailabilityState state, ObjectGrid objectGrid)
state
- the AvailabilityState to transition to.objectGrid
- the ObjectGrid to transaction to the specified AvailabilityState.
IllegalArgumentException.
- ObjectGrid.getObjectGridType()
.
|
IBM WebSphere® DataPower® XC10 Appliance Release 1.0 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |