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

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

Best Java code snippets using com.jkoolcloud.tnt4j.tracker.TrackingActivity.setSeverity (Showing top 5 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

/**
 * Creates a logical application activity object with the specified signature.
 * 
 * @param level
 *            activity severity level
 * @param name
 *            activity name
 * @throws NullPointerException
 *             if the signature is {@code null}
 * @throws IllegalArgumentException
 *             if the signature is empty or is too long
 * @see #setTrackingId(String)
 */
protected TrackingActivity(OpLevel level, String name) {
  super(null, name);
  setSeverity(level);
}
origin: com.jkoolcloud/tnt4j

/**
 * Creates a logical application activity object with the specified signature.
 * 
 * @param level
 *            activity severity level
 * @param name
 *            activity name
 * @param signature
 *            activity signature
 * @param trk
 *            {@link Tracker} instance associated with this activity
 * @throws NullPointerException
 *             if the signature is {@code null}
 * @throws IllegalArgumentException
 *             if the signature is empty or is too long
 * @see #setTrackingId(String)
 */
protected TrackingActivity(OpLevel level, String name, String signature, TrackerImpl trk) {
  super(signature, name, trk.getSource());
  tracker = trk;
  setSeverity(level);
  setLocation(trk.getSource());
}
origin: com.jkoolcloud/tnt4j

/**
 * Creates a logical application activity object with the specified signature.
 * 
 * @param level
 *            activity severity level
 * @param name
 *            activity name
 * @param trk
 *            {@link Tracker} instance associated with this activity
 * @throws NullPointerException
 *             if the signature is {@code null}
 * @throws IllegalArgumentException
 *             if the signature is empty or is too long
 * @see #setTrackingId(String)
 */
protected TrackingActivity(OpLevel level, String name, TrackerImpl trk) {
  super(trk.newUUID(), name, trk.getSource());
  tracker = trk;
  setSeverity(level);
  setLocation(trk.getSource());
}
origin: com.jkoolcloud/jesl

curActivity.setUser(user == null ? source.getUser() : user);
curActivity.setStatus(status == null ? ActivityStatus.BEGIN : status);
curActivity.setSeverity(sev == null ? OpLevel.INFO : sev);
curActivity.setCompCode(cc == null ? OpCompCode.SUCCESS : cc);
if (pid > 0L) {
origin: com.jkoolcloud/tnt4j

  activity.setUser(value);
} else if (key.equalsIgnoreCase(PARAM_SEVERITY_LABEL)) {
  activity.setSeverity(OpLevel.valueOf(value));
} else if (key.equalsIgnoreCase(PARAM_EXCEPTION_LABEL)) {
  activity.setException(value);
com.jkoolcloud.tnt4j.trackerTrackingActivitysetSeverity

Popular methods of TrackingActivity

  • setException
  • setResource
  • setSource
  • setStatus
  • start
  • stop
    Indicates that application activity has ended.
  • tnt
    Track and Trace given TrackingEvent instance correlated with current activity
  • add
  • getIdCount
  • getLocation
  • getName
  • getPID
  • getName,
  • 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