@ThreadSafe public final class FleetStateStats extends Object
EC2FleetCloud
Modifier and Type | Class and Description |
---|---|
static class |
FleetStateStats.State
Abstract state of different implementation of
EC2Fleet |
Constructor and Description |
---|
FleetStateStats(FleetStateStats stats,
int numDesired) |
FleetStateStats(String fleetId,
int numDesired,
FleetStateStats.State state,
Set<String> instances,
Map<String,Double> instanceTypeWeights) |
Modifier and Type | Method and Description |
---|---|
String |
getFleetId() |
Set<String> |
getInstances() |
Map<String,Double> |
getInstanceTypeWeights() |
int |
getNumActive() |
int |
getNumDesired() |
FleetStateStats.State |
getState() |
void |
setNumActive(int activeCount) |
public FleetStateStats(@Nonnull String fleetId, int numDesired, @Nonnull FleetStateStats.State state, @Nonnull Set<String> instances, @Nonnull Map<String,Double> instanceTypeWeights)
public FleetStateStats(@Nonnull FleetStateStats stats, int numDesired)
public int getNumActive()
public void setNumActive(int activeCount)
public int getNumDesired()
@Nonnull public FleetStateStats.State getState()
Copyright © 2016–2023. All rights reserved.