Class ThreadStat


  • public final class ThreadStat
    extends java.lang.Object
    • Field Detail

      • THREAD_STAT_ENABLED_PROP

        public static final java.lang.String THREAD_STAT_ENABLED_PROP
        See Also:
        Constant Field Values
      • THREAD_PERF_STATISTICS_ENABLED

        public static final java.lang.String THREAD_PERF_STATISTICS_ENABLED
        See Also:
        Constant Field Values
      • THREAD_STAT_MAX_OPERATIONS_PROP

        public static final java.lang.String THREAD_STAT_MAX_OPERATIONS_PROP
        See Also:
        Constant Field Values
      • THREAD_STAT_MAX_OPERATION_DESCR_PROP

        public static final java.lang.String THREAD_STAT_MAX_OPERATION_DESCR_PROP
        See Also:
        Constant Field Values
    • Constructor Detail

      • ThreadStat

        public ThreadStat()
    • Method Detail

      • init

        public static void init()
      • getTraceState

        @NotNull
        public static TraceState getTraceState()
      • reset

        public static void reset()
      • isEnabled

        public static boolean isEnabled()
      • isPerfStatEnabled

        public static boolean isPerfStatEnabled()
        Returns:
        true if additional performance statistics should be added to thread names