| Package | Description |
|---|---|
| com.elastisys.scale.cloudpool.api.types |
| Modifier and Type | Field and Description |
|---|---|
static Set<MachineState> |
Machine.allocatedStates
The collection of
MachineStates for which machines are considered
to have been allocated from the underlying infrastructure. |
| Modifier and Type | Method and Description |
|---|---|
MachineState |
Machine.getMachineState()
Returns the execution state of the
Machine. |
static MachineState |
MachineState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineState[] |
MachineState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Predicate<? super Machine> |
Machine.inState(MachineState state)
|
Machine.Builder |
Machine.Builder.machineState(MachineState machineState)
Sets the
MachineState for the Machine being built. |
void |
Machine.setMachineState(MachineState machineState)
Sets the execution state of the
Machine. |
| Constructor and Description |
|---|
Machine(String id,
MachineState machineState,
MembershipStatus membershipStatus,
ServiceState serviceState,
String cloudProvider,
String region,
String machineSize,
org.joda.time.DateTime requestTime,
org.joda.time.DateTime launchTime,
List<String> publicIps,
List<String> privateIps,
com.google.gson.JsonElement metadata)
Constructs a new
Machine. |
MachineWithState(MachineState state) |
Copyright © 2011–2017 Elastisys. All rights reserved.