public class ServerStatus extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerStatus.Builder<T extends ServerStatus.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ServerStatus(Server.State state,
ResourceStatus cpu,
ResourceStatus memory,
ResourceStatus disk,
ServerUptime uptime) |
Modifier and Type | Method and Description |
---|---|
static ServerStatus.Builder<?> |
builder() |
boolean |
equals(Object obj) |
ResourceStatus |
getCpu() |
ResourceStatus |
getDisk() |
ResourceStatus |
getMemory() |
Server.State |
getState() |
ServerUptime |
getUptime() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ServerStatus.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"state","cpu","memory","disk","uptime"}) protected ServerStatus(Server.State state, @Nullable ResourceStatus cpu, @Nullable ResourceStatus memory, @Nullable ResourceStatus disk, @Nullable ServerUptime uptime)
public static ServerStatus.Builder<?> builder()
public ServerStatus.Builder<?> toBuilder()
@Nullable public Server.State getState()
@Nullable public ResourceStatus getCpu()
@Nullable public ResourceStatus getMemory()
@Nullable public ResourceStatus getDisk()
@Nullable public ServerUptime getUptime()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.