public class ZKScaleOutUtils extends Object
Constructor and Description |
---|
ZKScaleOutUtils() |
public static String getStepDetails(AttributeStore attributeStore, String puName, String step, String key) throws IOException
IOException
public static void setScaleOutMetaData(AttributeStore attributeStore, String puName, String key, String value) throws IOException
IOException
public static String getScaleOutMetaData(AttributeStore attributeStore, String puName, String key) throws IOException
IOException
public static void setScaleOutLastStep(AttributeStore attributeStore, String puName, String step) throws IOException
IOException
public static void setQuiesceToken(AttributeStore attributeStore, String puName, Object value) throws IOException
IOException
public static QuiesceToken getQuiesceToken(AttributeStore attributeStore, String puName) throws IOException
IOException
public static String getScaleOutLastStep(AttributeStore attributeStore, String puName) throws IOException
IOException
public static List<Integer> getParticipantPartitions(AttributeStore attributeStore, String puName) throws IOException
IOException
public 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
IOException
Copyright © GigaSpaces.