Table of Contents

Class ThreadGroup

Namespace
Java.Lang
Assembly
MASES.JNet.dll
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

arg0 String

String

ThreadGroup(ThreadGroup, String)

public ThreadGroup(ThreadGroup arg0, String arg1)

Parameters

arg0 ThreadGroup

ThreadGroup

arg1 String

String

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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

MaxPriority

public int MaxPriority { get; set; }

Property Value

int

Name

public String Name { get; }

Property Value

String

Parent

public ThreadGroup Parent { get; }

Property Value

ThreadGroup

Methods

ActiveCount()

public int ActiveCount()

Returns

int

int

ActiveGroupCount()

public int ActiveGroupCount()

Returns

int

int

AllowThreadSuspension(bool)

[Obsolete("Deprecated in JVM")]
public bool AllowThreadSuspension(bool arg0)

Parameters

arg0 bool

bool

Returns

bool

bool

CheckAccess()

public void CheckAccess()

CreatePoolableInstance(String)

HPA initializer for ThreadGroup(Java.Lang.String arg0)

public static ThreadGroup CreatePoolableInstance(String arg0)

Parameters

arg0 String

Returns

ThreadGroup

CreatePoolableInstance(ThreadGroup, String)

HPA initializer for ThreadGroup(Java.Lang.ThreadGroup arg0, Java.Lang.String arg1)

public static ThreadGroup CreatePoolableInstance(ThreadGroup arg0, String arg1)

Parameters

arg0 ThreadGroup
arg1 String

Returns

ThreadGroup

Destroy()

public void Destroy()

Enumerate(ThreadGroup[])

public int Enumerate(ThreadGroup[] arg0)

Parameters

arg0 ThreadGroup[]

ThreadGroup

Returns

int

int

Enumerate(ThreadGroup[], bool)

public int Enumerate(ThreadGroup[] arg0, bool arg1)

Parameters

arg0 ThreadGroup[]

ThreadGroup

arg1 bool

bool

Returns

int

int

Enumerate(Thread[])

public int Enumerate(Thread[] arg0)

Parameters

arg0 Thread[]

Thread

Returns

int

int

Enumerate(Thread[], bool)

public int Enumerate(Thread[] arg0, bool arg1)

Parameters

arg0 Thread[]

Thread

arg1 bool

bool

Returns

int

int

Interrupt()

public void Interrupt()

IsDaemon()

public bool IsDaemon()

Returns

bool

bool

IsDestroyed()

public bool IsDestroyed()

Returns

bool

bool

List()

public void List()

ParentOf(ThreadGroup)

public bool ParentOf(ThreadGroup arg0)

Parameters

arg0 ThreadGroup

ThreadGroup

Returns

bool

bool

Resume()

[Obsolete("Deprecated in JVM")]
public void Resume()

SetDaemon(bool)

public void SetDaemon(bool arg0)

Parameters

arg0 bool

bool

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

arg0 Thread

Thread

arg1 JVMBridgeException

Throwable