TraceTokenManager.addTraceTokenProperties
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.proofpoint.tracetoken.TraceTokenManager.addTraceTokenProperties(Showing top 1 results out of 315)

origin: proofpoint/platform

/**
 * Create and register a new trace token with a random id.
 * @param properties Additional properties to include in the token.
 * @return The id of the created token.
 */
public static String createAndRegisterNewRequestToken(String... properties)
{
  checkArgument((properties.length % 2) == 0, "odd number of elements in properties");
  String newToken = UUID.randomUUID().toString();
  registerRequestToken(newToken);
  if (properties.length != 0) {
    addTraceTokenProperties(properties);
  }
  return newToken;
}
com.proofpoint.tracetokenTraceTokenManageraddTraceTokenProperties

Javadoc

Add properties to the current thread's trace token. If there is currently no trace token, does nothing.

Popular methods of TraceTokenManager

  • getCurrentTraceToken
  • registerTraceToken
    Associate a given trace token with the current thread.
  • registerRequestToken
    Associate a given trace token id, with no other properties, with the current thread.
  • getCurrentRequestToken

Popular classes and methods

  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on *

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)