org.elasticsearch.monitor.fs
Class FsStats

java.lang.Object
  extended by org.elasticsearch.monitor.fs.FsStats
All Implemented Interfaces:
Iterable<FsStats.Info>, Streamable, ToXContent

public class FsStats
extends Object
implements Iterable<FsStats.Info>, Streamable, ToXContent


Nested Class Summary
static class FsStats.Info
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Method Summary
 long getTimestamp()
           
 Iterator<FsStats.Info> iterator()
           
 void readFrom(StreamInput in)
           
static FsStats readFsStats(StreamInput in)
           
 long timestamp()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

timestamp

public long timestamp()

getTimestamp

public long getTimestamp()

iterator

public Iterator<FsStats.Info> iterator()
Specified by:
iterator in interface Iterable<FsStats.Info>

readFsStats

public static FsStats readFsStats(StreamInput in)
                           throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws IOException
Specified by:
toXContent in interface ToXContent
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.