Package com.linkedin.databus.client.netty.AbstractNettyHttpConnection

Examples of com.linkedin.databus.client.netty.AbstractNettyHttpConnection.ChannelCloseListener


  private void informCloseListener() {
    _log.info("Calling channelCloseListener");

    // listener is nullified (under sync) to guarantee it is called only once
    ChannelCloseListener tempListener = null;

    synchronized (this) {
      if(_closeListener != null) {
        tempListener = _closeListener;
        _closeListener = null;
      }
    }
    if(tempListener != null)
      tempListener.onChannelClose();
  }
View Full Code Here

TOP

Related Classes of com.linkedin.databus.client.netty.AbstractNettyHttpConnection.ChannelCloseListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.