public void endAddPdxTypeSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(addPdxTypeSendInProgressId, -1); int endAddPdxTypeSendId; if (failed) { endAddPdxTypeSendId = addPdxTypeSendFailedId; } else { endAddPdxTypeSendId = addPdxTypeSendId; } this.sendStats.incInt(endAddPdxTypeSendId, 1); this.stats.incLong(addPdxTypeSendDurationId, duration); }
public void endCommitSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(commitSendInProgressId, -1); int endcommitSendId; if (failed) { endcommitSendId = commitSendFailedId; } else { endcommitSendId = commitSendId; } this.sendStats.incInt(endcommitSendId, 1); this.stats.incLong(commitSendDurationId, duration); }
public void endRollbackSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(rollbackSendInProgressId, -1); int endRollbackSendId; if (failed) { endRollbackSendId = rollbackSendFailedId; } else { endRollbackSendId = rollbackSendId; } this.sendStats.incInt(endRollbackSendId, 1); this.stats.incLong(rollbackSendDurationId, duration); }
public void endGetPDXTypeByIdSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(getPDXTypeByIdSendInProgressId, -1); int endGetPDXTypeByIdSendId; if (failed) { endGetPDXTypeByIdSendId = getPDXTypeByIdSendFailedId; } else { endGetPDXTypeByIdSendId = getPDXTypeByIdSendId; } this.sendStats.incInt(endGetPDXTypeByIdSendId, 1); this.stats.incLong(getPDXTypeByIdSendDurationId, duration); }
public void endGetEntrySend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(getEntrySendInProgressId, -1); int endGetEntrySendId; if (failed) { endGetEntrySendId = getEntrySendFailedId; } else { endGetEntrySendId = getEntrySendId; } this.sendStats.incInt(endGetEntrySendId, 1); this.stats.incLong(getEntrySendDurationId, duration); }
public void endTxFailoverSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(txFailoverSendInProgressId, -1); int endTxFailoverSendId; if (failed) { endTxFailoverSendId = txFailoverSendFailedId; } else { endTxFailoverSendId = txFailoverSendId; } this.sendStats.incInt(endTxFailoverSendId, 1); this.stats.incLong(txFailoverSendDurationId, duration); }
public void endGetPDXIdForTypeSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(getPDXIdForTypeSendInProgressId, -1); int endGetPDXIdForTypeSendId; if (failed) { endGetPDXIdForTypeSendId = getPDXIdForTypeSendFailedId; } else { endGetPDXIdForTypeSendId = getPDXIdForTypeSendId; } this.stats.incInt(endGetPDXIdForTypeSendId, 1); this.stats.incLong(getPDXIdForTypeSendDurationId, duration); }
public void endSizeSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(sizeSendInProgressId, -1); int endSizeSendId; if (failed) { endSizeSendId = sizeSendFailedId; } else { endSizeSendId = sizeSendId; } this.sendStats.incInt(endSizeSendId, 1); this.stats.incLong(sizeSendDurationId, duration); }
public void endInvalidateSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(invalidateSendInProgressId, -1); int endInvalidateSendId; if (failed) { endInvalidateSendId = invalidateSendFailedId; } else { endInvalidateSendId = invalidateSendId; } this.sendStats.incInt(endInvalidateSendId, 1); this.stats.incLong(invalidateSendDurationId, duration); }
public void endRegisterDataSerializersSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(registerDataSerializersSendInProgressId, -1); int endDataSerializersSendId; if (failed) { endDataSerializersSendId = registerDataSerializersSendFailedId; } else { endDataSerializersSendId = registerDataSerializersSendId; } this.sendStats.incInt(endDataSerializersSendId, 1); this.stats.incLong(registerDataSerializersSendDurationId, duration); }
public void endTxSynchronizationSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(txSynchronizationSendInProgressId, -1); int endTxSynchronizationSendId; if (failed) { endTxSynchronizationSendId = txSynchronizationSendFailedId; } else { endTxSynchronizationSendId = txSynchronizationSendId; } this.sendStats.incInt(endTxSynchronizationSendId, 1); this.stats.incLong(txSynchronizationSendDurationId, duration); }
/** * Records that the send part of the get has completed * * @param startTime the value returned by {@link #startGet}. * @param failed true if the send of the get failed */ public void endGetSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(getSendInProgressId, -1); int endGetSendId; if (failed) { endGetSendId = getSendFailedId; } else { endGetSendId = getSendId; } this.sendStats.incInt(endGetSendId, 1); this.stats.incLong(getSendDurationId, duration); }
/** * Records that the send part of the destroy has completed * * @param startTime the value returned by {@link #startDestroy}. * @param failed true if the send of the destroy failed */ public void endDestroySend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(destroySendInProgressId, -1); int endDestroySendId; if (failed) { endDestroySendId = destroySendFailedId; } else { endDestroySendId = destroySendId; } this.sendStats.incInt(endDestroySendId, 1); this.stats.incLong(destroySendDurationId, 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 */ public void endContainsKeySend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(containsKeySendInProgressId, -1); int endContainsKeySendId; if (failed) { endContainsKeySendId = containsKeySendFailedId; } else { endContainsKeySendId = containsKeySendId; } this.sendStats.incInt(endContainsKeySendId, 1); this.stats.incLong(containsKeySendDurationId, duration); }
/** * Records that the send part of the unregisterInterest has completed * * @param startTime the value returned by {@link #startUnregisterInterest}. * @param failed true if the send of the unregisterInterest failed */ public void endUnregisterInterestSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(unregisterInterestSendInProgressId, -1); int endUnregisterInterestSendId; if (failed) { endUnregisterInterestSendId = unregisterInterestSendFailedId; } else { endUnregisterInterestSendId = unregisterInterestSendId; } this.sendStats.incInt(endUnregisterInterestSendId, 1); this.stats.incLong(unregisterInterestSendDurationId, duration); }
/** * Records that the send part of the primaryAck has completed * * @param startTime the value returned by {@link #startPrimaryAck}. * @param failed true if the send of the primaryAck failed */ public void endPrimaryAckSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(primaryAckSendInProgressId, -1); int endPrimaryAckSendId; if (failed) { endPrimaryAckSendId = primaryAckSendFailedId; } else { endPrimaryAckSendId = primaryAckSendId; } this.sendStats.incInt(endPrimaryAckSendId, 1); this.stats.incLong(primaryAckSendDurationId, duration); }
/** * Records that the send part of the registerInstantiators has completed * * @param startTime the value returned by {@link #startRegisterInstantiators}. * @param failed true if the send of the registerInstantiators failed */ public void endRegisterInstantiatorsSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(registerInstantiatorsSendInProgressId, -1); int endRegisterInstantiatorsSendId; if (failed) { endRegisterInstantiatorsSendId = registerInstantiatorsSendFailedId; } else { endRegisterInstantiatorsSendId = registerInstantiatorsSendId; } this.sendStats.incInt(endRegisterInstantiatorsSendId, 1); this.stats.incLong(registerInstantiatorsSendDurationId, duration); }
/** * Records that the send part of the GetClientPRMetadata has completed * * @param startTime the value returned by {@link #startGetClientPRMetadata}. * @param failed true if the send of the GetClientPRMetadata failed */ public void endGetClientPRMetadataSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(getClientPRMetadataSendInProgressId, -1); int endGetClientPRMetadataSendId; if (failed) { endGetClientPRMetadataSendId = getClientPRMetadataSendFailedId; } else { endGetClientPRMetadataSendId = getClientPRMetadataSendId; } this.sendStats.incInt(endGetClientPRMetadataSendId, 1); this.stats.incLong(getClientPRMetadataSendDurationId, duration); }
/** * Records that the send part of the put has completed * * @param startTime the value returned by {@link #startPut}. * @param failed true if the send of the put failed */ public void endPutSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(putSendInProgressId, -1); int endPutSendId; if (failed) { endPutSendId = putSendFailedId; } else { endPutSendId = putSendId; } this.sendStats.incInt(endPutSendId, 1); this.stats.incLong(putSendDurationId, duration); }
/** * Records that the send part of the stopCQ has completed * * @param startTime the value returned by {@link #startStopCQ}. * @param failed true if the send of the stopCQ failed */ public void endGetDurableCQsSend(long startTime, boolean failed) { long duration = getStatTime() - startTime; endClientOpSend(duration, failed); this.sendStats.incInt(getDurableCQsSendsInProgressId, -1); int endGetDurableCQsSendId; if (failed) { endGetDurableCQsSendId = getDurableCQsSendFailedId; } else { endGetDurableCQsSendId = getDurableCQsSendId; } this.sendStats.incInt(endGetDurableCQsSendId, 1); this.stats.incLong(getDurableCQsSendDurationId, duration); }