distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ONodeManager.java
protected void initDiscoveryPing() {
    discoveryTimer = new TimerTask() {
      @Override
      public void run() {
        try {
          sendPing();
          if (running) {
            initDiscoveryPing();
          }
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
    };
    taskScheduler.scheduleOnce(discoveryTimer, discoveryPingIntervalMillis);
  }
protected void initDiscoveryPing() {
    discoveryTimer = new TimerTask() {
      @Override
      public void run() {
        try {
          sendPing();
          if (running) {
            initDiscoveryPing();
          }
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
    };
    taskScheduler.scheduleOnce(discoveryTimer, discoveryPingIntervalMillis);
  }
init the procedure that sends pings to other servers, ie. that notifies that you are alive