public class QuiesceHandler extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
QuiesceHandler.Guard |
protected static class |
QuiesceHandler.Status |
Constructor and Description |
---|
QuiesceHandler(SpaceImpl spaceImpl,
QuiesceStateChangedEvent quiesceStateChangedEvent) |
Modifier and Type | Method and Description |
---|---|
void |
addSpaceSuspendTypeListener(SuspendTypeChangedInternalListener listener) |
void |
checkAllowedOp(QuiesceToken operationToken) |
QuiesceToken |
createSpaceNameToken() |
SuspendInfo |
getSuspendInfo() |
boolean |
isHorizontalScale() |
boolean |
isOn() |
boolean |
isQuiesced() |
boolean |
isSupported() |
boolean |
isSuspended() |
boolean |
isUndeploy() |
void |
quiesce(String description,
QuiesceToken token) |
void |
quiesceDemote(String description) |
void |
removeSpaceSuspendTypeListener(SuspendTypeChangedInternalListener listener) |
void |
setQuiesceMode(QuiesceStateChangedEvent newQuiesceInfo) |
void |
suspend(String description) |
void |
unquiesce() |
void |
unquiesceDemote() |
void |
unsuspend() |
public QuiesceHandler(SpaceImpl spaceImpl, QuiesceStateChangedEvent quiesceStateChangedEvent)
public boolean isOn()
public SuspendInfo getSuspendInfo()
public boolean isSuspended()
public boolean isQuiesced()
public boolean isHorizontalScale()
public boolean isUndeploy()
public void checkAllowedOp(QuiesceToken operationToken)
public void setQuiesceMode(QuiesceStateChangedEvent newQuiesceInfo)
public void quiesceDemote(String description)
public void quiesce(String description, QuiesceToken token)
public void unquiesce()
public void unquiesceDemote()
public void suspend(String description)
public void unsuspend()
public boolean isSupported()
public QuiesceToken createSpaceNameToken()
public void addSpaceSuspendTypeListener(SuspendTypeChangedInternalListener listener)
public void removeSpaceSuspendTypeListener(SuspendTypeChangedInternalListener listener)
Copyright © GigaSpaces.