Uses of Class
com.elastisys.scale.cloudpool.api.CloudPoolException
-
Packages that use CloudPoolException Package Description com.elastisys.scale.cloudpool.api com.elastisys.scale.cloudpool.api.client -
-
Uses of CloudPoolException in com.elastisys.scale.cloudpool.api
Subclasses of CloudPoolException in com.elastisys.scale.cloudpool.api Modifier and Type Class Description classNotConfiguredExceptionclassNotEvictableExceptionThrown to indicate that a given machine cannot be removed from the cloudpool due to it having a membership status withevictable: false.classNotFoundExceptionThrown by aCloudPoolto indicate that a requested resource (such as a machine pool member) could not be found.classNotStartedExceptionMethods in com.elastisys.scale.cloudpool.api that throw CloudPoolException Modifier and Type Method Description voidCloudPool. attachMachine(java.lang.String machineId)Attaches an already running machine instance to the pool, growing the pool with a new member.voidCloudPool. configure(com.google.gson.JsonObject configuration)Updates the configuration for thisCloudPool.voidCloudPool. detachMachine(java.lang.String machineId, boolean decrementDesiredSize)Removes a member from the pool without terminating it.MachinePoolCloudPool. getMachinePool()Returns a list of the members of the cloud pool.PoolSizeSummaryCloudPool. getPoolSize()Returns the current size of theMachinePool-- both in terms of the desired size and the actual size (as these may differ at any time).java.util.concurrent.Future<?>CloudPool. setDesiredSize(int desiredSize)Sets the desired number of machines in the machine pool.voidCloudPool. setMembershipStatus(java.lang.String machineId, MembershipStatus membershipStatus)Sets the membership status of a given pool member.voidCloudPool. setServiceState(java.lang.String machineId, ServiceState serviceState)Sets the service state of a given machine pool member.voidCloudPool. terminateMachine(java.lang.String machineId, boolean decrementDesiredSize)Terminates a particular machine pool member. -
Uses of CloudPoolException in com.elastisys.scale.cloudpool.api.client
Methods in com.elastisys.scale.cloudpool.api.client that throw CloudPoolException Modifier and Type Method Description voidCloudPoolClient. attachMachine(java.lang.String machineId)voidCloudPoolClient. configure(com.google.gson.JsonObject configuration)voidCloudPoolClient. detachMachine(java.lang.String machineId, boolean decrementDesiredSize)MachinePoolCloudPoolClient. getMachinePool()PoolSizeSummaryCloudPoolClient. getPoolSize()java.util.concurrent.Future<?>CloudPoolClient. setDesiredSize(int desiredSize)voidCloudPoolClient. setMembershipStatus(java.lang.String machineId, MembershipStatus membershipStatus)voidCloudPoolClient. setServiceState(java.lang.String machineId, ServiceState serviceState)voidCloudPoolClient. terminateMachine(java.lang.String machineId, boolean decrementDesiredSize)
-