Exemple #1
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);
 }
Exemple #2
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);
 }