public static class FsStats.Info extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
Info() |
Info(String path,
String mount,
String dev,
long total,
long free,
long available,
long diskReads,
long diskWrites,
long diskReadBytes,
long diskWriteBytes,
double diskQueue,
double diskServiceTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FsStats.Info info) |
ByteSizeValue |
getAvailable() |
String |
getDev() |
double |
getDiskQueue() |
long |
getDiskReads() |
long |
getDiskReadSizeInBytes() |
ByteSizeValue |
getDiskReadSizeSize() |
double |
getDiskServiceTime() |
long |
getDiskWrites() |
long |
getDiskWriteSizeInBytes() |
ByteSizeValue |
getDiskWriteSizeSize() |
ByteSizeValue |
getFree() |
String |
getMount() |
String |
getPath() |
ByteSizeValue |
getTotal() |
String |
getType() |
void |
readFrom(StreamInput in) |
static FsStats.Info |
readInfoFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public static FsStats.Info readInfoFrom(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic String getPath()
public String getMount()
public String getDev()
public String getType()
public ByteSizeValue getTotal()
public ByteSizeValue getFree()
public ByteSizeValue getAvailable()
public long getDiskReads()
public long getDiskWrites()
public long getDiskReadSizeInBytes()
public ByteSizeValue getDiskReadSizeSize()
public long getDiskWriteSizeInBytes()
public ByteSizeValue getDiskWriteSizeSize()
public double getDiskQueue()
public double getDiskServiceTime()
public void add(FsStats.Info info)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.