Class ThreadMxBeanInfo

java.lang.Object
io.deephaven.process.ThreadMxBeanInfo
All Implemented Interfaces:
PropertySet

@Immutable public abstract class ThreadMxBeanInfo extends Object implements PropertySet
  • Constructor Details

    • ThreadMxBeanInfo

      public ThreadMxBeanInfo()
  • Method Details

    • of

      public static ThreadMxBeanInfo of(ThreadMXBean bean)
    • isCurrentThreadCpuTimeSupported

      @Parameter public abstract boolean isCurrentThreadCpuTimeSupported()
    • isObjectMonitorUsageSupported

      @Parameter public abstract boolean isObjectMonitorUsageSupported()
    • isSynchronizerUsageSupported

      @Parameter public abstract boolean isSynchronizerUsageSupported()
    • isThreadContentionMonitoringSupported

      @Parameter public abstract boolean isThreadContentionMonitoringSupported()
    • isThreadCpuTimeSupported

      @Parameter public abstract boolean isThreadCpuTimeSupported()
    • traverse

      public final void traverse(PropertyVisitor visitor)
      Description copied from interface: PropertySet
      Traverse this property set and output the property key/values to the given visitor.

      Callers should typically prefer to call PropertyVisitor.visitProperties(PropertySet), as the inversion of logic allows the visitor (the more stateful object) to potentially perform initialization logic and traverse more efficiently.

      Specified by:
      traverse in interface PropertySet
      Parameters:
      visitor - the visitor
      See Also: