Examples of HeartbeatThread


Examples of org.nasutekds.server.replication.protocol.HeartbeatThread

      writer.start();

      // Create a thread to send heartbeat messages.
      if (heartbeatInterval > 0)
      {
        heartbeatThread = new HeartbeatThread(
            "Replication Heartbeat to " + this +
            " in RS " + replicationServerDomain.getReplicationServer().
            getMonitorInstanceName(),
            session, heartbeatInterval / 3);
        heartbeatThread.start();
View Full Code Here

Examples of tachyon.HeartbeatThread

    mJournal.createImage(this);
    mJournal.createEditLog(mCheckpointInfo.getEditTransactionCounter());

    mHeartbeatThread =
        new HeartbeatThread("Master Heartbeat", new MasterInfoHeartbeatExecutor(),
            mMasterConf.HEARTBEAT_INTERVAL_MS);
    mHeartbeatThread.start();

    mRecomputeExecutor.submit(new RecomputationScheduler());
  }
View Full Code Here

Examples of tachyon.HeartbeatThread

          new TBinaryProtocol(new TFramedTransport(new TSocket(
              NetworkUtils.getFqdnHost(mWorkerAddress), mWorkerAddress.getPort())));
      mClient = new WorkerService.Client(mProtocol);

      mHeartbeatThread =
          new HeartbeatThread("WorkerClientToWorkerHeartbeat", new WorkerClientHeartbeatExecutor(
              this, mMasterClient.getUserId()), UserConf.get().HEARTBEAT_INTERVAL_MS);

      try {
        mProtocol.getTransport().open();
      } catch (TTransportException e) {
View Full Code Here

Examples of tachyon.HeartbeatThread

      mClient = new MasterService.Client(mProtocol);
      try {
        mProtocol.getTransport().open();

        mHeartbeatThread =
            new HeartbeatThread("Master_Client Heartbeat", new MasterClientHeartbeatExecutor(this),
                UserConf.get().HEARTBEAT_INTERVAL_MS / 2);
        mHeartbeatThread.start();
      } catch (TTransportException e) {
        lastException = e;
        LOG.error("Failed to connect (" + retry.getRetryCount() + ") to master " + mMasterAddress
View Full Code Here

Examples of voxo.server.threads.HeartBeatThread

    this.netThread.start();
    if(debug)
      verbose.addConsoleMsg(Messages.getString("ServerController.DBG_InitNetworkReceiverNotice"), EnumSet.of(EnumVerbose.ToConsole)); //$NON-NLS-1$

    // Start heartbeat thread
    this.hb = new HeartBeatThread(this);
    this.hbThread = new Thread(this.hb, "HeartBeatThread"); //$NON-NLS-1$
    this.hbThread.start();
    if(debug)
      verbose.addConsoleMsg(Messages.getString("ServerController.DBG_InitHeartBeatThreadNotice"), EnumSet.of(EnumVerbose.ToConsole)); //$NON-NLS-1$
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.