public class ZKScaleOutUtils extends Object
| Constructor and Description |
|---|
ZKScaleOutUtils() |
public static String getStepDetails(AttributeStore attributeStore, String puName, String step, String key) throws IOException
IOExceptionpublic static void setScaleOutMetaData(AttributeStore attributeStore, String puName, String key, String value) throws IOException
IOExceptionpublic static String getScaleOutMetaData(AttributeStore attributeStore, String puName, String key) throws IOException
IOExceptionpublic static void setScaleOutLastStep(AttributeStore attributeStore, String puName, String step) throws IOException
IOExceptionpublic static void setQuiesceToken(AttributeStore attributeStore, String puName, Object value) throws IOException
IOExceptionpublic static QuiesceToken getQuiesceToken(AttributeStore attributeStore, String puName) throws IOException
IOExceptionpublic static String getScaleOutLastStep(AttributeStore attributeStore, String puName) throws IOException
IOExceptionpublic static List<Integer> getParticipantPartitions(AttributeStore attributeStore, String puName) throws IOException
IOExceptionpublic static boolean setStepIfPossible(AttributeStore attributeStore, String puName, String step, String key, String value)
public static boolean isScaleInProgress(AttributeStore attributeStore, String puName)
public static Status getScaleStatusOnCompletion(AttributeStore attributeStore, String puName)
public static boolean checkIfScaleIsCanceled(AttributeStore attributeStore, String puName)
public static void setOldTopologyState(AttributeStore attributeStore, String puName, ClusterTopologyState topologyState)
public static ClusterTopologyState getOldTopologyState(AttributeStore attributeStore, String puName)
public static ScaleRequestInfo getScaleRequestInfoIfExist(AttributeStore attributeStore, String requestId, List<String> pusName) throws IOException
IOExceptionCopyright © GigaSpaces.