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