Class ReadEnvelopeChunkedDeserializer<V>

  • Type Parameters:
    V -
    Direct Known Subclasses:
    ComputeResponseRecordV1ChunkedDeserializer, MultiGetResponseRecordV1ChunkedDeserializer

    public abstract class ReadEnvelopeChunkedDeserializer<V>
    extends java.lang.Object
    This class provides support to deserialize customized records even the input doesn't contain the full record. The user could use write(ByteBuffer) to keep writing more data, and the user can use consume() to consume all the available records so far. All the records can only be consumed once, and after the consumption, the underlying byte array might be freed to reduce GC.