public static class FleetStateStats.State extends Object
EC2Fleet
Constructor and Description |
---|
State(boolean active,
boolean modifying,
String detailed) |
Modifier and Type | Method and Description |
---|---|
static FleetStateStats.State |
active() |
static FleetStateStats.State |
active(String detailed) |
boolean |
equals(Object o) |
String |
getDetailed()
Detailed information about EC2 Fleet for example
EC2 Spot Fleet states are
BatchState |
int |
hashCode() |
boolean |
isActive()
Fleet is good to be used for plugin, it will be shown on UI as option to use
and plugin will use it for provision
EC2FleetCloud.provision(hudson.slaves.Cloud.CloudState, int) ()} and de-provision
otherwise activity will be ignored until state will not be updated. |
boolean |
isModifying()
Is underline fleet is updating so we need to suppress update
until modification will be completed and fleet state will be stabilized.
|
static FleetStateStats.State |
modifying(String detailed) |
static FleetStateStats.State |
notActive(String detailed) |
public State(boolean active, boolean modifying, String detailed)
public static FleetStateStats.State active(String detailed)
public static FleetStateStats.State modifying(String detailed)
public static FleetStateStats.State active()
public static FleetStateStats.State notActive(String detailed)
public boolean isModifying()
EC2SpotFleet
as it has delay between update request and actual update of target capacity, while
AutoScalingGroupFleet
does it in sync with
update call.
Consumed by EC2FleetCloud.update()
public boolean isActive()
EC2FleetCloud.provision(hudson.slaves.Cloud.CloudState, int)
()} and de-provision
otherwise activity will be ignored until state will not be updated.public String getDetailed()
BatchState
Copyright © 2016–2023. All rights reserved.