public class GroupState extends Object implements Comparable<GroupState>
Modifier | Constructor and Description |
---|---|
protected |
GroupState(String id,
List<Link> links,
int activeCapacity,
int pendingCapacity,
int desiredCapacity,
boolean paused,
List<GroupInstance> groupInstances) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GroupState that) |
boolean |
equals(Object obj) |
int |
getActiveCapacity() |
int |
getDesiredCapacity() |
List<GroupInstance> |
getGroupInstances() |
String |
getId() |
List<Link> |
getLinks() |
boolean |
getPaused() |
int |
getPendingCapacity() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
@ConstructorProperties(value={"id","links","activeCapacity","pendingCapacity","desiredCapacity","paused","active"}) protected GroupState(String id, List<Link> links, int activeCapacity, int pendingCapacity, int desiredCapacity, boolean paused, List<GroupInstance> groupInstances)
public String getId()
public int getActiveCapacity()
public int getPendingCapacity()
public int getDesiredCapacity()
public boolean getPaused()
public List<GroupInstance> getGroupInstances()
GroupInstance
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(GroupState that)
compareTo
in interface Comparable<GroupState>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.