public static int getReconnectAttemptCounter() {
    return reconnectAttemptCounter.get();
  }
Returns the value for the number of time reconnect has been tried. Test method used by DUnit.
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java