public void endGetClientPRMetadata(long startTime, boolean timedOut, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOp(duration, timedOut, failed);
    stats.incInt(getClientPRMetadataInProgressId, -1);
    int endGetClientPRMetadataId;
    if (timedOut) {
      endGetClientPRMetadataId = getClientPRMetadataTimedOutId;
    } else if (failed) {
      endGetClientPRMetadataId = getClientPRMetadataFailedId;
    } else {
      endGetClientPRMetadataId = getClientPRMetadataId;
    }
    stats.incInt(endGetClientPRMetadataId, 1);
    stats.incLong(getClientPRMetadataDurationId, duration);
  }
Records that the specified GetClientPRMetadata has ended

@param startTime the value returned by {@link #startGetClientPRMetadata}.
@param timedOut true if GetClientPRMetadata timed out
@param failed true if GetClientPRMetadata failed
geode-core/src/main/java/org/apache/geode/cache/client/internal/ConnectionStats.java