public interface RequestFactory
Callable tasks for carrying out operations
against remote PrioritizedCloudAdapters.SplitterCallable<MachinePool> newGetMachinePoolRequest(PrioritizedCloudAdapter cloudAdapter)
Callable that calls
CloudAdapter.getMachinePool() on the remote cloud adapter.cloudAdapter - Callable<PoolSizeSummary> newGetPoolSizeRequest(PrioritizedCloudAdapter cloudAdapter)
Callable that calls CloudAdapter.getPoolSize()
on the remote cloud adapter.cloudAdapter - Callable<Void> newSetDesiredSizeRequest(PrioritizedCloudAdapter cloudAdapter, int desiredSize)
Callable that calls
CloudAdapter.setDesiredSize(int) on the remote cloud adapter.cloudAdapter - desiredSize - Callable<Void> newTerminateMachineRequest(PrioritizedCloudAdapter cloudAdapter, String machineId, boolean decrementDesiredSize)
Callable that calls
CloudAdapter.terminateMachine(String, boolean) on the remote
cloud adapter.cloudAdapter - machineId - decrementDesiredSize - Callable<Void> newSetServiceStateRequest(PrioritizedCloudAdapter cloudAdapter, String machineId, ServiceState serviceState)
Callable that calls
CloudAdapter.setServiceState(String, ServiceState) on the remote
cloud adapter.cloudAdapter - machineId - serviceState - Callable<Void> newAttachMachineRequest(PrioritizedCloudAdapter cloudAdapter, String machineId)
Callable that calls
CloudAdapter.attachMachine(String) on the remote cloud adapter.cloudAdapter - machineId - Callable<Void> newDetachMachineRequest(PrioritizedCloudAdapter cloudAdapter, String machineId, boolean decrementDesiredSize)
Callable that calls
CloudAdapter.detachMachine(String, boolean) on the remote cloud
adapter.cloudAdapter - machineId - decrementDesiredSize - Copyright © 2011–2015 elastisys. All rights reserved.