org.elasticsearch.common.io.stream
Class LongStreamable

java.lang.Object
  extended by org.elasticsearch.common.io.stream.LongStreamable
All Implemented Interfaces:
Streamable

public class LongStreamable
extends Object
implements Streamable


Constructor Summary
LongStreamable()
           
LongStreamable(long value)
           
 
Method Summary
 long get()
           
 void readFrom(StreamInput in)
           
 void set(long newValue)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongStreamable

public LongStreamable()

LongStreamable

public LongStreamable(long value)
Method Detail

set

public void set(long newValue)

get

public long get()

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.