public void endContainsKeySend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(containsKeySendInProgressId, -1);
    int endContainsKeySendId;
    if (failed) {
      endContainsKeySendId = containsKeySendFailedId;
    } else {
      endContainsKeySendId = containsKeySendId;
    }
    sendStats.incInt(endContainsKeySendId, 1);
    sendStats.incLong(containsKeySendDurationId, duration);
  }
Records that the send part of the containsKey has completed

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