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
IOException
public static ClusterTopology getClusterTopology(AttributeStore attributeStore, String puName, int generation) throws IOException
IOException
public void setScaleOutDetailsOnZK(DefaultProcessingUnit pu, int factor, String memory, String cpu) throws IOException
IOException
public void setRollbackDetailsOnZK(DefaultProcessingUnit pu) throws IOException
IOException
public 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
IOException
public 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
IOException
public ClusterTopology getLatestChunksMap(String puName) throws IOException
IOException
public boolean isScaling(String puName) throws IOException
IOException
Copyright © GigaSpaces.