/** * Indicates that application tracking event has ended. * * @param ccode completion code of the tracking event * @param rcode reason code associated with this tracking event * @param opEx exception associated with this tracking event * @param endTime time when the tracking event has ended (usec) * @param elpasedUsec elapsed time in (usec) * @see OpCompCode */ public void stop( OpCompCode ccode, int rcode, Throwable opEx, UsecTimestamp endTime, long elpasedUsec) { operation.setException(opEx); operation.setCompCode(ccode); operation.setReasonCode(rcode); operation.stop(endTime, elpasedUsec); }
/** * Indicates that application tracking event has ended. * * @param ccode completion code of the tracking event * @param rcode reason code associated with this tracking event * @param opEx exception associated with this tracking event * @see OpCompCode */ public void stop(OpCompCode ccode, int rcode, Throwable opEx) { operation.setException(opEx); operation.setCompCode(ccode); operation.setReasonCode(rcode); operation.stop(); }
/** * Indicates that application tracking event has ended. Event completion code is set to <code> * OpCompCode.WARNING</code> * * @param opEx exception associated with this tracking event * @param elapsedUsec elapsed time in (usec) */ public void stop(Throwable opEx, long elapsedUsec) { operation.setException(opEx); operation.setCompCode(opEx != null ? OpCompCode.WARNING : OpCompCode.SUCCESS); operation.stop(Useconds.CURRENT.get(), elapsedUsec); }
/** * Indicates that application tracking event has ended. * * @param ccode completion code of the tracking event * @param rcode reason code associated with this tracking event * @see OpCompCode */ public void stop(OpCompCode ccode, int rcode) { operation.stop(); operation.setCompCode(ccode); operation.setReasonCode(rcode); }
/** * Indicates that application tracking event has ended. Event completion code is set to <code> * OpCompCode.WARNING</code> * * @param opEx exception associated with this tracking event */ public void stop(Throwable opEx) { operation.setException(opEx); operation.stop(); operation.setCompCode(opEx != null ? OpCompCode.WARNING : OpCompCode.SUCCESS); }
/** * Indicates that application tracking event has ended. * * @param endTimeUsec ending time associated with the event (usec) * @param elapsedUsec elapsed time in (usec) */ public void stop(long endTimeUsec, long elapsedUsec) { operation.stop(endTimeUsec, elapsedUsec); }
/** * Indicates that application tracking event has ended. * * @param elaspedTime elapsed time of this event in (usec) */ public void stop(long elaspedTime) { operation.stop(Useconds.CURRENT.get(), elaspedTime); }
/** * Indicates that application tracking event has ended. * * @param time when operation stopped * @param elapsedUsec elapsed time of the event in microseconds */ public void stop(UsecTimestamp time, long elapsedUsec) { operation.stop(time, elapsedUsec); }
/** Indicates that application tracking event has ended. */ public void stop() { operation.stop(); }