Class TransactionId

java.lang.Object
org.hawaiiframework.logging.model.TransactionId

public final class TransactionId extends Object
Class that holds a transaction id in a ThreadLocal.
  • Method Details

    • get

      public static String get()
      Return the id as string.
      Returns:
      The ID as string, or null if not set.
    • set

      public static void set(UUID value)
      Set the transaction id.
      Parameters:
      value - The UUID to set.
    • remove

      public static void remove()
      Clear the thread local.