| Package | Description |
|---|---|
| com.elastisys.scale.cloudpool.api | |
| com.elastisys.scale.cloudpool.api.client |
| Modifier and Type | Method and Description |
|---|---|
void |
CloudPool.attachMachine(String machineId)
Attaches an already running machine instance to the pool, growing the
pool with a new member.
|
void |
CloudPool.detachMachine(String machineId,
boolean decrementDesiredSize)
Removes a member from the pool without terminating it.
|
MachinePool |
CloudPool.getMachinePool()
Returns a list of the members of the cloud pool.
|
PoolSizeSummary |
CloudPool.getPoolSize()
Returns the current size of the
MachinePool -- both in terms of
the desired size and the actual size (as these may differ at any time). |
void |
CloudPool.setDesiredSize(int desiredSize)
Sets the desired number of machines in the machine pool.
|
void |
CloudPool.setMembershipStatus(String machineId,
MembershipStatus membershipStatus)
Sets the membership status of a given pool member.
|
void |
CloudPool.setServiceState(String machineId,
ServiceState serviceState)
Sets the service state of a given machine pool member.
|
void |
CloudPool.terminateMachine(String machineId,
boolean decrementDesiredSize)
Terminates a particular machine pool member.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CloudPoolClient.attachMachine(String machineId) |
void |
CloudPoolClient.detachMachine(String machineId,
boolean decrementDesiredSize) |
MachinePool |
CloudPoolClient.getMachinePool() |
PoolSizeSummary |
CloudPoolClient.getPoolSize() |
void |
CloudPoolClient.setDesiredSize(int desiredSize) |
void |
CloudPoolClient.setMembershipStatus(String machineId,
MembershipStatus membershipStatus) |
void |
CloudPoolClient.setServiceState(String machineId,
ServiceState serviceState) |
void |
CloudPoolClient.terminateMachine(String machineId,
boolean decrementDesiredSize) |
Copyright © 2011–2017 Elastisys. All rights reserved.