code: public Map<String, Object> getDebugInfo()
    {
      long currTime = System.currentTimeMillis();
  
      Object notSuccessfullySyncedFor;
      if (lastSuccessfulSyncTime == 0) {
        notSuccessfullySyncedFor = "Never Successfully Synced";
      } else {
        notSuccessfullySyncedFor = (currTime - lastSuccessfulSyncTime) / 1000;
      }
      return ImmutableMap.of(
          "notSyncedForSecs", lastSyncTime == 0 ? "Never Synced" : (currTime - lastSyncTime) / 1000,
          "notSuccessfullySyncedFor", notSuccessfullySyncedFor,
          "consecutiveFailedAttemptCount", consecutiveFailedAttemptCount,
          "syncScheduled", startStopLock.isStarted()
      );
    }
docs: This method returns the debugging information for printing, must not be used for any other purpose.