Table of Contents

Class ThreadMXBean

Namespace
Java.Lang.Management
Assembly
MASES.JNet.dll
public class ThreadMXBean : PlatformManagedObject, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IThreadMXBean, IPlatformManagedObject
Inheritance
JVMBridgeBase
JVMBridgeBase<PlatformManagedObject>
ThreadMXBean
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<PlatformManagedObject>.IsAssignableFrom(IJavaType)
JVMBridgeBase<PlatformManagedObject>.IsAssignableFrom<T>()
JVMBridgeBase<PlatformManagedObject>.Execute<T>(params T[])
JVMBridgeBase<PlatformManagedObject>.DynBridgeClazz
JVMBridgeBase<PlatformManagedObject>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

CurrentThreadCpuTime

public long CurrentThreadCpuTime { get; }

Property Value

long

CurrentThreadUserTime

public long CurrentThreadUserTime { get; }

Property Value

long

DaemonThreadCount

public int DaemonThreadCount { get; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

PeakThreadCount

public int PeakThreadCount { get; }

Property Value

int

ThreadCount

public int ThreadCount { get; }

Property Value

int

TotalStartedThreadCount

public long TotalStartedThreadCount { get; }

Property Value

long

Methods

DumpAllThreads(bool, bool)

public ThreadInfo[] DumpAllThreads(bool arg0, bool arg1)

Parameters

arg0 bool

bool

arg1 bool

bool

Returns

ThreadInfo[]

ThreadInfo

DumpAllThreads(bool, bool, int)

public ThreadInfo[] DumpAllThreads(bool arg0, bool arg1, int arg2)

Parameters

arg0 bool

bool

arg1 bool

bool

arg2 int

int

Returns

ThreadInfo[]

ThreadInfo

FindDeadlockedThreads()

public long[] FindDeadlockedThreads()

Returns

long[]

long

FindMonitorDeadlockedThreads()

public long[] FindMonitorDeadlockedThreads()

Returns

long[]

long

GetThreadCpuTime(long)

public long GetThreadCpuTime(long arg0)

Parameters

arg0 long

long

Returns

long

long

GetThreadInfo(long)

public ThreadInfo GetThreadInfo(long arg0)

Parameters

arg0 long

long

Returns

ThreadInfo

ThreadInfo

GetThreadInfo(long, int)

public ThreadInfo GetThreadInfo(long arg0, int arg1)

Parameters

arg0 long

long

arg1 int

int

Returns

ThreadInfo

ThreadInfo

GetThreadInfo(long[])

public ThreadInfo[] GetThreadInfo(long[] arg0)

Parameters

arg0 long[]

long

Returns

ThreadInfo[]

ThreadInfo

GetThreadInfo(long[], bool, bool)

public ThreadInfo[] GetThreadInfo(long[] arg0, bool arg1, bool arg2)

Parameters

arg0 long[]

long

arg1 bool

bool

arg2 bool

bool

Returns

ThreadInfo[]

ThreadInfo

GetThreadInfo(long[], bool, bool, int)

public ThreadInfo[] GetThreadInfo(long[] arg0, bool arg1, bool arg2, int arg3)

Parameters

arg0 long[]

long

arg1 bool

bool

arg2 bool

bool

arg3 int

int

Returns

ThreadInfo[]

ThreadInfo

GetThreadInfo(long[], int)

public ThreadInfo[] GetThreadInfo(long[] arg0, int arg1)

Parameters

arg0 long[]

long

arg1 int

int

Returns

ThreadInfo[]

ThreadInfo

GetThreadUserTime(long)

public long GetThreadUserTime(long arg0)

Parameters

arg0 long

long

Returns

long

long

IsCurrentThreadCpuTimeSupported()

public bool IsCurrentThreadCpuTimeSupported()

Returns

bool

bool

IsObjectMonitorUsageSupported()

public bool IsObjectMonitorUsageSupported()

Returns

bool

bool

IsSynchronizerUsageSupported()

public bool IsSynchronizerUsageSupported()

Returns

bool

bool

IsThreadContentionMonitoringEnabled()

public bool IsThreadContentionMonitoringEnabled()

Returns

bool

bool

IsThreadContentionMonitoringSupported()

public bool IsThreadContentionMonitoringSupported()

Returns

bool

bool

IsThreadCpuTimeEnabled()

public bool IsThreadCpuTimeEnabled()

Returns

bool

bool

IsThreadCpuTimeSupported()

public bool IsThreadCpuTimeSupported()

Returns

bool

bool

ResetPeakThreadCount()

public void ResetPeakThreadCount()

SetThreadContentionMonitoringEnabled(bool)

public void SetThreadContentionMonitoringEnabled(bool arg0)

Parameters

arg0 bool

bool

SetThreadCpuTimeEnabled(bool)

public void SetThreadCpuTimeEnabled(bool arg0)

Parameters

arg0 bool

bool