org.elasticsearch.monitor.os
Class OsStats.Swap

java.lang.Object
  extended by org.elasticsearch.monitor.os.OsStats.Swap
All Implemented Interfaces:
Serializable, Streamable
Enclosing class:
OsStats

public static class OsStats.Swap
extends Object
implements Streamable, Serializable

See Also:
Serialized Form

Constructor Summary
OsStats.Swap()
           
 
Method Summary
 ByteSizeValue free()
           
 ByteSizeValue getFree()
           
 ByteSizeValue getUsed()
           
 void readFrom(StreamInput in)
           
static OsStats.Swap readSwap(StreamInput in)
           
 ByteSizeValue used()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsStats.Swap

public OsStats.Swap()
Method Detail

free

public ByteSizeValue free()

getFree

public ByteSizeValue getFree()

used

public ByteSizeValue used()

getUsed

public ByteSizeValue getUsed()

readSwap

public static OsStats.Swap readSwap(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


Copyright © 2009-2012. All Rights Reserved.