Class ThreadGroup
public class ThreadGroup : JVMBridgeBase<ThreadGroup>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
ThreadGroup
- Implements
- Extension Methods
Constructors
ThreadGroup(String)
public ThreadGroup(String arg0)
Parameters
ThreadGroup(ThreadGroup, String)
public ThreadGroup(ThreadGroup arg0, String arg1)
Parameters
arg0ThreadGrouparg1String
ThreadGroup(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ThreadGroup(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
MaxPriority
https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadGroup.html#getMaxPriority-- https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadGroup.html#setMaxPriority-int-
public int MaxPriority { get; set; }
Property Value
Name
public String Name { get; }
Property Value
Parent
public ThreadGroup Parent { get; }
Property Value
Methods
ActiveCount()
public int ActiveCount()
Returns
ActiveGroupCount()
public int ActiveGroupCount()
Returns
AllowThreadSuspension(bool)
[Obsolete("Deprecated in JVM")]
public bool AllowThreadSuspension(bool arg0)
Parameters
Returns
CheckAccess()
public void CheckAccess()
CreatePoolableInstance(String)
HPA initializer for ThreadGroup(Java.Lang.String arg0)
public static ThreadGroup CreatePoolableInstance(String arg0)
Parameters
arg0String
Returns
CreatePoolableInstance(ThreadGroup, String)
HPA initializer for ThreadGroup(Java.Lang.ThreadGroup arg0, Java.Lang.String arg1)
public static ThreadGroup CreatePoolableInstance(ThreadGroup arg0, String arg1)
Parameters
arg0ThreadGrouparg1String
Returns
Destroy()
public void Destroy()
Enumerate(ThreadGroup[])
public int Enumerate(ThreadGroup[] arg0)
Parameters
arg0ThreadGroup[]
Returns
Enumerate(ThreadGroup[], bool)
public int Enumerate(ThreadGroup[] arg0, bool arg1)
Parameters
arg0ThreadGroup[]arg1bool
Returns
Enumerate(Thread[])
public int Enumerate(Thread[] arg0)
Parameters
Returns
Enumerate(Thread[], bool)
public int Enumerate(Thread[] arg0, bool arg1)
Parameters
Returns
Interrupt()
public void Interrupt()
IsDaemon()
public bool IsDaemon()
Returns
IsDestroyed()
public bool IsDestroyed()
Returns
List()
public void List()
ParentOf(ThreadGroup)
https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadGroup.html#parentOf-java.lang.ThreadGroup-
public bool ParentOf(ThreadGroup arg0)
Parameters
arg0ThreadGroup
Returns
Resume()
[Obsolete("Deprecated in JVM")]
public void Resume()
SetDaemon(bool)
public void SetDaemon(bool arg0)
Parameters
Stop()
[Obsolete("Deprecated in JVM")]
public void Stop()
Suspend()
[Obsolete("Deprecated in JVM")]
public void Suspend()
UncaughtException(Thread, JVMBridgeException)
public void UncaughtException(Thread arg0, JVMBridgeException arg1)
Parameters
arg0Threadarg1JVMBridgeException