コード例 #1
0
ファイル: TrackingEvent.java プロジェクト: Nastel/TNT4J
 /**
  * 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);
 }
コード例 #2
0
ファイル: TrackingEvent.java プロジェクト: Nastel/TNT4J
 /**
  * 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();
 }
コード例 #3
0
ファイル: TrackingEvent.java プロジェクト: Nastel/TNT4J
 /**
  * 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);
 }