Class ThreadMXBean
- Namespace
- Java.Lang.Management
- Assembly
- MASES.JNet.dll
public class ThreadMXBean : PlatformManagedObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IThreadMXBean, IPlatformManagedObject
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<PlatformManagedObject>ThreadMXBean
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<PlatformManagedObject>.SExecuteWithSignature<TReturn>(string, string, params object[])JVMBridgeBase<PlatformManagedObject>.IsAssignableFrom(IJavaType)JVMBridgeBase<PlatformManagedObject>.IsAssignableFrom<T>()JVMBridgeBase<PlatformManagedObject>.Execute<T>(params T[])JVMBridgeBase<PlatformManagedObject>.DynBridgeClazzJVMBridgeBase<PlatformManagedObject>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
ThreadMXBean()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("ThreadMXBean class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ThreadMXBean()
ThreadMXBean(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("ThreadMXBean class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ThreadMXBean(params object[] args)
Parameters
args
object[]
Properties
AllThreadIds
public long[] AllThreadIds { get; }
Property Value
- long[]
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CurrentThreadCpuTime
public long CurrentThreadCpuTime { get; }
Property Value
CurrentThreadUserTime
public long CurrentThreadUserTime { get; }
Property Value
DaemonThreadCount
public int DaemonThreadCount { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
PeakThreadCount
public int PeakThreadCount { get; }
Property Value
ThreadCount
public int ThreadCount { get; }
Property Value
TotalStartedThreadCount
public long TotalStartedThreadCount { get; }
Property Value
Methods
DumpAllThreads(bool, bool)
public ThreadInfo[] DumpAllThreads(bool arg0, bool arg1)
Parameters
Returns
DumpAllThreads(bool, bool, int)
public ThreadInfo[] DumpAllThreads(bool arg0, bool arg1, int arg2)
Parameters
Returns
FindDeadlockedThreads()
public long[] FindDeadlockedThreads()
Returns
FindMonitorDeadlockedThreads()
public long[] FindMonitorDeadlockedThreads()
Returns
GetThreadCpuTime(long)
public long GetThreadCpuTime(long arg0)
Parameters
Returns
GetThreadInfo(long)
public ThreadInfo GetThreadInfo(long arg0)
Parameters
Returns
GetThreadInfo(long, int)
public ThreadInfo GetThreadInfo(long arg0, int arg1)
Parameters
Returns
GetThreadInfo(long[])
public ThreadInfo[] GetThreadInfo(long[] arg0)
Parameters
Returns
GetThreadInfo(long[], bool, bool)
public ThreadInfo[] GetThreadInfo(long[] arg0, bool arg1, bool arg2)
Parameters
Returns
GetThreadInfo(long[], bool, bool, int)
public ThreadInfo[] GetThreadInfo(long[] arg0, bool arg1, bool arg2, int arg3)
Parameters
Returns
GetThreadInfo(long[], int)
public ThreadInfo[] GetThreadInfo(long[] arg0, int arg1)
Parameters
Returns
GetThreadUserTime(long)
public long GetThreadUserTime(long arg0)
Parameters
Returns
IsCurrentThreadCpuTimeSupported()
public bool IsCurrentThreadCpuTimeSupported()
Returns
IsObjectMonitorUsageSupported()
public bool IsObjectMonitorUsageSupported()
Returns
IsSynchronizerUsageSupported()
public bool IsSynchronizerUsageSupported()
Returns
IsThreadContentionMonitoringEnabled()
public bool IsThreadContentionMonitoringEnabled()
Returns
IsThreadContentionMonitoringSupported()
public bool IsThreadContentionMonitoringSupported()
Returns
IsThreadCpuTimeEnabled()
public bool IsThreadCpuTimeEnabled()
Returns
IsThreadCpuTimeSupported()
public bool IsThreadCpuTimeSupported()
Returns
ResetPeakThreadCount()
public void ResetPeakThreadCount()
SetThreadContentionMonitoringEnabled(bool)
public void SetThreadContentionMonitoringEnabled(bool arg0)
Parameters
SetThreadCpuTimeEnabled(bool)
public void SetThreadCpuTimeEnabled(bool arg0)