Class PerChannelBookieClient.ContextPreservingFutureListener

  • All Implemented Interfaces:
    io.netty.channel.ChannelFutureListener, io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>, java.util.EventListener
    Enclosing class:
    PerChannelBookieClient

    static class PerChannelBookieClient.ContextPreservingFutureListener
    extends java.lang.Object
    implements io.netty.channel.ChannelFutureListener
    Decorator to preserve MDC for connection listener.
    • Field Summary

      • Fields inherited from interface io.netty.channel.ChannelFutureListener

        CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void operationComplete​(io.netty.channel.ChannelFuture future)  
      • Methods inherited from class java.lang.Object

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

      • ContextPreservingFutureListener

        ContextPreservingFutureListener​(io.netty.channel.ChannelFutureListener listener)
    • Method Detail

      • operationComplete

        public void operationComplete​(io.netty.channel.ChannelFuture future)
                               throws java.lang.Exception
        Specified by:
        operationComplete in interface io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
        Throws:
        java.lang.Exception