public class ServerStatus extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerStatus.Builder |
Constructor and Description |
---|
ServerStatus(Server.State state,
ResourceUsage cpu,
ResourceUsage memory,
ResourceUsage disk,
ServerUptime uptime) |
Modifier and Type | Method and Description |
---|---|
static ServerStatus.Builder |
builder() |
boolean |
equals(Object object) |
ResourceUsage |
getCpu() |
ResourceUsage |
getDisk() |
ResourceUsage |
getMemory() |
Server.State |
getState() |
ServerUptime |
getUptime() |
int |
hashCode() |
String |
toString() |
public ServerStatus(Server.State state, ResourceUsage cpu, ResourceUsage memory, ResourceUsage disk, ServerUptime uptime)
public static ServerStatus.Builder builder()
public Server.State getState()
public ResourceUsage getCpu()
public ResourceUsage getMemory()
public ResourceUsage getDisk()
public ServerUptime getUptime()
Copyright © 2009-2012 jclouds. All Rights Reserved.