public class FsStats extends Object implements Iterable<FsStats.Info>, Streamable, ToXContent
| Modifier and Type | Class and Description |
|---|---|
static class |
FsStats.Info |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
FsStats(long timestamp,
FsStats.Info[] infos) |
| Modifier and Type | Method and Description |
|---|---|
long |
getTimestamp() |
FsStats.Info |
getTotal() |
Iterator<FsStats.Info> |
iterator() |
void |
readFrom(StreamInput in) |
static FsStats |
readFsStats(StreamInput in) |
FsStats.Info |
total() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FsStats(long timestamp,
FsStats.Info[] infos)
public FsStats.Info getTotal()
public FsStats.Info total()
public long getTimestamp()
public Iterator<FsStats.Info> iterator()
iterator in interface Iterable<FsStats.Info>public static FsStats readFsStats(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 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.