The members of Java.Lang.ThreadGroup are listed below.
See Also: Inherited members from Java.Lang.Object
Public Constructors
| | Constructs a new ThreadGroup with the given name. |
| | Constructs a new ThreadGroup with the given name, as a child of the
given ThreadGroup. |
Protected Constructors
| | A constructor used when creating managed representations of JNI objects; called by the runtime. |
Public Properties
| Daemon | bool. Checks whether this thread group is a daemon ThreadGroup. |
[read-only] | IsDestroyed | bool. Checks whether this thread group has already been destroyed. |
| MaxPriority | int. Returns the maximum allowed priority for a Thread in this thread group. |
[read-only] | Name | string. Returns the name of this thread group. |
[read-only] | Parent | ThreadGroup. Returns this thread group's parent ThreadGroup. |
Protected Properties
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Public Methods
| ActiveCount() : intReturns the number of running Threads which are children of this thread group,
directly or indirectly. |
| ActiveGroupCount() : intReturns the number of ThreadGroups which are children of this group,
directly or indirectly. |
| AllowThreadSuspension(bool) : boolDoes nothing. |
| CheckAccess()Does nothing. |
| Destroy()Destroys this thread group and recursively all its subgroups. |
| Enumerate(Thread[]) : intIterates over all active threads in this group (and its sub-groups) and
stores the threads in the given array. |
| Enumerate(ThreadGroup[]) : intIterates over all thread groups in this group (and its sub-groups) and
and stores the groups in the given array. |
| Enumerate(Thread[], bool) : intIterates over all active threads in this group (and, optionally, its
sub-groups) and stores the threads in the given array. |
| Enumerate(ThreadGroup[], bool) : intIterates over all thread groups in this group (and, optionally, its
sub-groups) and stores the groups in the given array. |
| Interrupt()Interrupts every Thread in this group and recursively in all its
subgroups. |
| List()Outputs to System.out a text representation of the
hierarchy of Threads and ThreadGroups in this thread group (and recursively). |
| ParentOf(ThreadGroup) : boolChecks whether this thread group is a direct or indirect parent group of a
given ThreadGroup. |
| Resume()Resumes every thread in this group and recursively in all its
subgroups. |
| Stop()Stops every thread in this group and recursively in all its subgroups. |
| Suspend()Suspends every thread in this group and recursively in all its
subgroups. |
| UncaughtException(Thread, Throwable)Handles uncaught exceptions. |