Package org.elasticsearch.transport
Class InboundDecoder
java.lang.Object
org.elasticsearch.transport.InboundDecoder
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.core.Releasable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
decode(ReleasableBytesReference reference, Consumer<Object> fragmentConsumer)
int
internalDecode(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-