Package org.jclouds.glesys.domain
Class ServerStatus
java.lang.Object
org.jclouds.glesys.domain.ServerStatus
Detailed information server status including hardware usage (cpu, memory and disk), bandwidth and up-time.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ServerStatus.Builder<T extends ServerStatus.Builder<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ServerStatus
(Server.State state, ResourceStatus cpu, ResourceStatus memory, ResourceStatus disk, ServerUptime uptime) -
Method Summary
-
Constructor Details
-
ServerStatus
@ConstructorProperties({"state","cpu","memory","disk","uptime"}) protected ServerStatus(Server.State state, @Nullable ResourceStatus cpu, @Nullable ResourceStatus memory, @Nullable ResourceStatus disk, @Nullable ServerUptime uptime)
-
-
Method Details
-
builder
-
toBuilder
-
getState
- Returns:
- the state of the server (e.g. "running")
-
getCpu
- Returns:
- CPU usage information
-
getMemory
- Returns:
- details of memory usage and limits
-
getDisk
- Returns:
- details of disk usage and limits
-
getUptime
- Returns:
- the uptime of the server
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-