Codota Logo
TrackingActivity.tnt
Code IndexAdd Codota to your IDE (free)

How to use
tnt
method
in
com.jkoolcloud.tnt4j.tracker.TrackingActivity

Best Java code snippets using com.jkoolcloud.tnt4j.tracker.TrackingActivity.tnt (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param opName
 *            operation name associated with the event message
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, String opName, String msg, Object... args) {
  tnt(severity, OpType.EVENT, opName, null, null, 0, msg, args);
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param opName
 *            operation name associated with the event message
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, String opName, byte[] msg, Object... args) {
  tnt(severity, OpType.EVENT, opName, null, null, 0, msg, args);
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param type
 *            operation type
 * @param opName
 *            operation name associated with the event message
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, OpType type, String opName, byte[] msg, Object... args) {
  tnt(severity, type, opName, null, null, 0, msg, args);
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param type
 *            operation type
 * @param opName
 *            operation name associated with the event message
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, OpType type, String opName, String msg, Object... args) {
  tnt(severity, type, opName, null, null, 0, msg, args);
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param type
 *            operation type
 * @param opName
 *            operation name associated with the event message
 * @param cid
 *            event correlator
 * @param elapsed
 *            elapsed time of the event in microseconds.
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, OpType type, String opName, String cid, long elapsed, byte[] msg,
    Object... args) {
  tnt(severity, type, opName, cid, null, elapsed, msg, args);
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param type
 *            operation type
 * @param opName
 *            operation name associated with the event message
 * @param cid
 *            event correlator
 * @param elapsed
 *            elapsed time of the event in microseconds.
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, OpType type, String opName, String cid, long elapsed, String msg,
    Object... args) {
  tnt(severity, type, opName, cid, null, elapsed, msg, args);
}
origin: com.jkoolcloud/jesl

/**
 * {@inheritDoc}
 */
@Override
public void endElement(String uri, String localName, String name) throws SAXException {
  if (name.equals(SIM_XML_MSG)) {
    recordMsgData();
    curMsg = null;
  } else if (name.equals(SIM_XML_SNAPSHOT)) {
    if (curEvent != null) {
      curEvent.getOperation().addSnapshot(curSnapshot);
    } else {
      curActivity.add(curSnapshot);
    }
    curSnapshot = null;
  } else if (name.equals(SIM_XML_ACTIVITY)) {
    stopActivity();
  } else if (name.equals(SIM_XML_EVENT)) {
    if (curActivity != null) {
      curActivity.tnt(curEvent);
    } else {
      Tracker tracker = trackers.get(curEvent.getSource().getFQName());
      if (tracker != null) {
        tracker.tnt(curEvent);
      }
    }
    curEvent = null;
  }
  curElement = activeElements.pop();
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param type
 *            operation type
 * @param opName
 *            operation name associated with the event message
 * @param cid
 *            event correlator
 * @param tag
 *            message tag
 * @param elapsed
 *            elapsed time of the event in microseconds.
 * @param msg
 *            event binary message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, OpType type, String opName, String cid, String tag, long elapsed, byte[] msg,
    Object... args) {
  TrackingEvent event = tracker.newEvent(severity, type, opName, cid, tag, msg, args);
  Throwable ex = Utils.getThrowable(args);
  long elapsedUsec = elapsed > 0 ? elapsed : getLastElapsedUsec();
  event.stop(ex != null ? OpCompCode.WARNING : OpCompCode.SUCCESS, 0, ex, Useconds.CURRENT.get(), elapsedUsec);
  tnt(event);
}
origin: com.jkoolcloud/tnt4j

/**
 * Track and Trace a given event and associate it with this activity
 * 
 * @param severity
 *            severity level of the reported message
 * @param type
 *            operation type
 * @param opName
 *            operation name associated with the event message
 * @param cid
 *            event correlator
 * @param tag
 *            message tag
 * @param elapsed
 *            elapsed time of the event in microseconds.
 * @param msg
 *            event string message
 * @param args
 *            argument list, exception passed along side given message
 * @see OpLevel
 */
public void tnt(OpLevel severity, OpType type, String opName, String cid, String tag, long elapsed, String msg,
    Object... args) {
  TrackingEvent event = tracker.newEvent(severity, type, opName, cid, tag, msg, args);
  Throwable ex = Utils.getThrowable(args);
  long elapsedUsec = elapsed > 0 ? elapsed : getLastElapsedUsec();
  event.stop(ex != null ? OpCompCode.WARNING : OpCompCode.SUCCESS, 0, ex, Useconds.CURRENT.get(), elapsedUsec);
  tnt(event);
}
origin: com.jkoolcloud.tnt4j.logger/logback

activity.tnt(tev);
activity.stop(tev.getOperation().getEndTime().getTimeUsec(), 0);
logger.tnt(activity);
activity.tnt(tev);
com.jkoolcloud.tnt4j.trackerTrackingActivitytnt

Javadoc

Track and Trace a given event and associate it with this activity

Popular methods of TrackingActivity

  • setException
  • setResource
  • setSource
  • setStatus
  • start
  • stop
    Indicates that application activity has ended.
  • add
  • getIdCount
  • getLocation
  • getName
  • getPID
  • getResource
  • getPID,
  • getResource,
  • getSource,
  • getStartTime,
  • getStatus,
  • getTID,
  • isNoop,
  • setCompCode,
  • setCorrelator

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Collectors (java.util.stream)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now