public class ServerUptime extends Object
ServerStatus
Modifier and Type | Class and Description |
---|---|
static class |
ServerUptime.Builder<T extends ServerUptime.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
ServerUptime(long current,
String unit) |
Modifier and Type | Method and Description |
---|---|
static ServerUptime.Builder<?> |
builder() |
boolean |
equals(Object obj) |
long |
getCurrent() |
String |
getUnit() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
ServerUptime.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"current","unit"}) protected ServerUptime(long current, String unit)
public static ServerUptime.Builder<?> builder()
public ServerUptime.Builder<?> toBuilder()
public long getCurrent()
public String getUnit()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.