public class ScaleManager extends Object
| Constructor and Description |
|---|
ScaleManager(InternalAdmin admin) |
public ScaleManager(InternalAdmin admin)
public static ClusterTopologyState getClusterTopologyState(AttributeStore attributeStore, String puName) throws IOException
IOExceptionpublic static ClusterTopology getClusterTopology(AttributeStore attributeStore, String puName, int generation) throws IOException
IOExceptionpublic void setScaleOutDetailsOnZK(DefaultProcessingUnit pu, int factor, String memory, String cpu, String requestId) throws IOException
IOExceptionpublic void setRollbackDetailsOnZK(DefaultProcessingUnit pu) throws IOException
IOExceptionpublic void scaleIn(DefaultProcessingUnit pu, int factor, InternalAdminDriver driver) throws IOException, TransactionException, ExecutionException, InterruptedException
public void scaleOutUnSafe(DefaultProcessingUnit pu, int factor, String memory, String cpu, InternalAdminDriver driver) throws ExecutionException, InterruptedException, IOException, TransactionException
public static void updateGenerationAfterScaleOut(DefaultProcessingUnit pu, ClusterTopology currentMap, ClusterTopology newMap, AttributeStore attributeStore) throws IOException
IOExceptionpublic static void setClusterTopologyState(AttributeStore attributeStore, String puName, ClusterTopologyState topologyState)
public static void setClusterTopology(AttributeStore attributeStore, String puName, ClusterTopology topology)
public static boolean killPartitionInstances(DefaultProcessingUnit pu, ClusterTopology newMap)
public static InternalQuiesceDetails getQuiesceDetails(AttributeStore attributeStore, String puName) throws IOException
IOExceptionpublic ClusterTopology getLatestChunksMap(String puName) throws IOException
IOExceptionpublic boolean isScaling(String puName) throws IOException
IOExceptionpublic boolean isRESTScaleRequest(String puName) throws Exception
ExceptionCopyright © GigaSpaces.