public interface Writeable
TimeValue
converts the time to nanoseconds for serialization.
Prefer implementing this interface over implementing Streamable
where possible. Lots of code depends on Streamable
so this isn't always possible.Modifier and Type | Interface and Description |
---|---|
static interface |
Writeable.Reader<R>
Reference to a method that can read some object from a stream.
|
Modifier and Type | Method and Description |
---|---|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
void writeTo(StreamOutput out) throws java.io.IOException
java.io.IOException