Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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();
 }
Esempio n. 3
0
 /**
  * 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);
 }
Esempio n. 4
0
 /**
  * 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);
 }
Esempio n. 5
0
 /**
  * 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);
 }
Esempio n. 6
0
 /**
  * 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);
 }
Esempio n. 7
0
 /**
  * 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);
 }
Esempio n. 8
0
 /**
  * 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);
 }
Esempio n. 9
0
 /** Indicates that application tracking event has ended. */
 public void stop() {
   operation.stop();
 }