public class FsInfo extends java.lang.Object implements java.lang.Iterable<FsInfo.Path>, Writeable, ToXContentFragment
| Modifier and Type | Class and Description |
|---|---|
static class |
FsInfo.DeviceStats |
static class |
FsInfo.IoStats |
static class |
FsInfo.Path |
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
FsInfo(long timestamp,
FsInfo.IoStats ioStats,
FsInfo.Path[] paths) |
FsInfo(long timestamp,
FsInfo.IoStats ioStats,
FsInfo.Path[] paths,
DiskUsage leastUsage,
DiskUsage mostUsage) |
FsInfo(StreamInput in)
Read from a stream.
|
| Modifier and Type | Method and Description |
|---|---|
FsInfo.IoStats |
getIoStats() |
DiskUsage |
getLeastDiskEstimate() |
DiskUsage |
getMostDiskEstimate() |
long |
getTimestamp() |
FsInfo.Path |
getTotal() |
java.util.Iterator<FsInfo.Path> |
iterator() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic FsInfo(long timestamp,
FsInfo.IoStats ioStats,
FsInfo.Path[] paths)
public FsInfo(long timestamp,
FsInfo.IoStats ioStats,
FsInfo.Path[] paths,
@Nullable
DiskUsage leastUsage,
@Nullable
DiskUsage mostUsage)
public FsInfo(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic FsInfo.Path getTotal()
public long getTimestamp()
public FsInfo.IoStats getIoStats()
public java.util.Iterator<FsInfo.Path> iterator()
iterator in interface java.lang.Iterable<FsInfo.Path>public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException