Class InboundDecoder

java.lang.Object
org.elasticsearch.transport.InboundDecoder
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, Releasable

public class InboundDecoder
extends java.lang.Object
implements Releasable
  • Constructor Summary

    Constructors
    Constructor Description
    InboundDecoder​(Version version, PageCacheRecycler recycler)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    int decode​(ReleasableBytesReference reference, java.util.function.Consumer<java.lang.Object> fragmentConsumer)  
    int internalDecode​(ReleasableBytesReference reference, java.util.function.Consumer<java.lang.Object> fragmentConsumer)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • decode

      public int decode​(ReleasableBytesReference reference, java.util.function.Consumer<java.lang.Object> fragmentConsumer) throws java.io.IOException
      Throws:
      java.io.IOException
    • internalDecode

      public int internalDecode​(ReleasableBytesReference reference, java.util.function.Consumer<java.lang.Object> fragmentConsumer) throws java.io.IOException
      Throws:
      java.io.IOException
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Specified by:
      close in interface Releasable