Interface StreamingDeserializer<T>

Type Parameters:
T - Type of object to be deserialized.
All Superinterfaces:
AutoCloseable, GracefulAutoCloseable

@Deprecated public interface StreamingDeserializer<T> extends GracefulAutoCloseable
Deprecated.
A contract capable of deserializing a stream of Buffers into a stream of StreamingDeserializers. This interface is designed to be used as a function that can convert a Buffer into a StreamingDeserializer. deserialize(Buffer) maybe called multiple times.

Implementations are assumed to be stateful since a single Buffer may not hold enough data to deserialize an entire object. It is expected that deserialize(Buffer) or deserialize(Iterable) may be called multiple times to deserialize a single instance of StreamingDeserializer as more data is available.

Implementations are assumed to be synchronous.