public static class FsStats.Info extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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() |
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
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public String getPath()
public String getMount()
public String getDev()
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 ToXContent
IOException
Copyright © 2009–2015. All rights reserved.