public void endRegisterDataSerializers(long startTime, boolean timedOut, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOp(duration, timedOut, failed);
    stats.incInt(registerDataSerializersInProgressId, -1);
    int endRegisterDataSerializersId;
    if (timedOut) {
      endRegisterDataSerializersId = registerDataSerializersTimedOutId;
    } else if (failed) {
      endRegisterDataSerializersId = registerDataSerializersFailedId;
    } else {
      endRegisterDataSerializersId = registerDataSerializersId;
    }
    stats.incInt(endRegisterDataSerializersId, 1);
    stats.incLong(registerDataSerializersDurationId, duration);
  }
Records that the specified registerInstantiators has ended

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