public void endTxSynchronization(long startTime, boolean timedOut, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOp(duration, timedOut, failed);
    stats.incInt(txSynchronizationInProgressId, -1);
    int endTxSynchronizationId;
    if (timedOut) {
      endTxSynchronizationId = txSynchronizationTimedOutId;
    } else if (failed) {
      endTxSynchronizationId = txSynchronizationFailedId;
    } else {
      endTxSynchronizationId = txSynchronizationId;
    }
    stats.incInt(endTxSynchronizationId, 1);
    stats.incLong(txSynchronizationDurationId, duration);
  }
Records that the specified GetClientPartitionAttributes has ended

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