public class ScaleManager extends Object
| Constructor and Description |
|---|
ScaleManager(InternalAdmin admin) |
| Modifier and Type | Method and Description |
|---|---|
ClusterTopology |
getClusterTopology(String puName,
int generation) |
ClusterTopologyState |
getClusterTopologyState(String puName) |
ClusterTopology |
getLatestChunksMap(String puName) |
void |
scaleIn(DefaultProcessingUnit pu,
int factor,
InternalAdminDriver driver) |
void |
scaleOut(DefaultProcessingUnit pu,
int factor,
String memory,
String cpu,
InternalAdminDriver driver) |
public ScaleManager(InternalAdmin admin)
public ClusterTopologyState getClusterTopologyState(String puName) throws IOException
IOExceptionpublic ClusterTopology getClusterTopology(String puName, int generation) throws IOException
IOExceptionpublic void scaleIn(DefaultProcessingUnit pu, int factor, InternalAdminDriver driver) throws IOException, TransactionException, ExecutionException, InterruptedException
public void scaleOut(DefaultProcessingUnit pu, int factor, String memory, String cpu, InternalAdminDriver driver) throws ExecutionException, InterruptedException, IOException, TransactionException
public ClusterTopology getLatestChunksMap(String puName) throws IOException
IOExceptionCopyright © GigaSpaces.