Class ThreadNameInfo

java.lang.Object
org.infinispan.factories.threads.ThreadNameInfo

public class ThreadNameInfo extends Object
Author:
Galder ZamarreƱo
  • Method Details

    • format

      public String format(Thread thread, String formatString)
      Format the thread name string.
      • %% - emit a percent sign
      • %t - emit the per-factory thread sequence number
      • %g - emit the global thread sequence number
      • %f - emit the factory sequence number
      • %p - emit the ":"-separated thread group path
      • %i - emit the thread ID
      • %G - emit the thread group name
      • %n - emit the node name
      • %c - emit the component name
      Parameters:
      thread - the thread
      formatString - the format string
      Returns:
      the thread name string