org.elasticsearch.monitor.os
Class OsInfo.Swap

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

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

See Also:
Serialized Form

Method Summary
 ByteSizeValue getTotal()
           
 void readFrom(StreamInput in)
           
static OsInfo.Swap readSwap(StreamInput in)
           
 ByteSizeValue total()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readSwap

public static OsInfo.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

total

public ByteSizeValue total()

getTotal

public ByteSizeValue getTotal()


Copyright © 2009-2012. All Rights Reserved.