Package org.elasticsearch.transport
Class InboundDecoder
java.lang.Object
org.elasticsearch.transport.InboundDecoder
- All Implemented Interfaces:
Closeable,AutoCloseable,org.elasticsearch.core.Releasable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intdecode(ReleasableBytesReference reference, Consumer<Object> fragmentConsumer)intinternalDecode(ReleasableBytesReference reference, Consumer<Object> fragmentConsumer)
-
Constructor Details
-
InboundDecoder
-
-
Method Details
-
decode
public int decode(ReleasableBytesReference reference, Consumer<Object> fragmentConsumer) throws IOException- Throws:
IOException
-
internalDecode
public int internalDecode(ReleasableBytesReference reference, Consumer<Object> fragmentConsumer) throws IOException- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-