org.elasticsearch.common.io.stream
Class LongStreamable
java.lang.Object
org.elasticsearch.common.io.stream.LongStreamable
- All Implemented Interfaces:
- Streamable
public class LongStreamable
- extends Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongStreamable
public LongStreamable()
LongStreamable
public LongStreamable(long value)
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.