Module org.elasticsearch.server
Package org.elasticsearch.common.io.stream
package org.elasticsearch.common.io.stream
Classes for streaming objects from one Elasticsearch node to another over its binary internode protocol.
-
ClassDescriptionResettable
StreamInput
that wraps a byte array.A @linkStreamOutput
that is backed by aBytesRef
.A @linkStreamOutput
that usesBigArrays
to acquire pages of bytes, which avoids frequent reallocation & copying of the internal data.A reusable @linkStreamOutput
that just count how many bytes are written.DelayableWriteable<T extends Writeable>A holder forWriteable
s that delays reading the underlying object on the receiving end.An object implementing this interface can deduplicate instance of the provided objects.DelayableWriteable.Serialized<T extends Writeable>AWriteable
stored in serialized form backed by aReleasableBytesReference
.Wraps aStreamInput
and delegates to it.Marker interface that allows specific NamedWritable objects to be serialized as part of the generic serialization in StreamOutput and StreamInput.AWriteable
object identified by its name.Wraps aStreamInput
and associates it with aNamedWriteableRegistry
A registry forWriteable.Reader
readers ofNamedWriteable
.An entry in the registry, made up of a category class and name, and a reader for that category class.This exception can be used to wrap a given, not serializable exception to serialize viaStreamOutput.writeException(Throwable)
.A @linkStreamOutput
that usesRecycler.V<org.apache.lucene.util.BytesRef>
to acquire pages of bytes, which avoids frequent reallocation & copying of the internal data.An bytes stream output that allows providing aBigArrays
instance expecting it to require releasing its content (BytesStreamOutput.bytes()
) once done.A stream from this node to another node.A stream from another node to this node.ThisStreamOutput
writes nowhere.ANamedWriteable
that has a minimum version associated with it.Implementers can be written to a StreamOutput and read from a StreamInput.Reference to a method that can read some object from a stream.Reference to a method that can write some object to aStreamOutput
.