public void endPingSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(pingSendInProgressId, -1);
    int endPingSendId;
    if (failed) {
      endPingSendId = pingSendFailedId;
    } else {
      endPingSendId = pingSendId;
    }
    sendStats.incInt(endPingSendId, 1);
    sendStats.incLong(pingSendDurationId, duration);
  }
Records that the send part of the ping has completed

@param startTime the value returned by {@link #startPing}.
@param failed true if the send of the ping failed
geode-core/src/main/java/org/apache/geode/cache/client/internal/ConnectionStats.java