Package com.linkedin.databus.client

Examples of com.linkedin.databus.client.BootstrapPullThread


  private void initSourcesConn(DatabusSourcesConnection sourcesConn)
  {
    if (null != sourcesConn)
    {
      RelayPullThread rp = sourcesConn.getRelayPullThread();
      BootstrapPullThread bp = sourcesConn.getBootstrapPullThread();
      GenericDispatcher<DatabusCombinedConsumer> rd = sourcesConn.getRelayDispatcher();
      GenericDispatcher<DatabusCombinedConsumer> bd =
          sourcesConn.getBootstrapDispatcher();

      if (null != rp)
      {
        setRelayPullerConnectionState(rp.getConnectionState().getStateId());
        if (null != rp.getComponentStatus())
          setRelayPullerComponentStatus(rp.getComponentStatus().getStatus());

        setCurrentRelay(rp.getCurentServer());
        setCandidateRelays(rp.getServers());
      }

      if (null != bp)
      {
        setBootstrapPullerConnectionState(bp.getConnectionState().getStateId());
        if (null != bp.getComponentStatus())
          setBootstrapPullerComponentStatus(bp.getComponentStatus().getStatus());

        setCurrentBootstrapServer(bp.getCurentServer());
        setCandidateBootstrapServers(bp.getServers());
      }

      if (null != rd)
      {
        if (null != rd.getComponentStatus())
View Full Code Here

TOP

Related Classes of com.linkedin.databus.client.BootstrapPullThread

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.