ForkJoinWorkerThread ForkJoinWorkerThread Class

Definition

A thread managed by a ForkJoinPool, which executes ForkJoinTasks.

[Android.Runtime.Register("java/util/concurrent/ForkJoinWorkerThread", ApiSince=21, DoNotGenerateAcw=true)]
public class ForkJoinWorkerThread : Java.Lang.Thread
type ForkJoinWorkerThread = class
    inherit Thread
Inheritance
ForkJoinWorkerThreadForkJoinWorkerThread
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

ForkJoinWorkerThread(ForkJoinPool) ForkJoinWorkerThread(ForkJoinPool)

Creates a ForkJoinWorkerThread operating in the given pool.

ForkJoinWorkerThread(IntPtr, JniHandleOwnership) ForkJoinWorkerThread(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
ContextClassLoader ContextClassLoader

Returns the context ClassLoader for this Thread.

(Inherited from Thread)
Daemon Daemon

Tests whether this is a daemon thread.

(Inherited from Thread)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
Id Id

Returns the thread's identifier.

(Inherited from Thread)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
IsAlive IsAlive

Returns true if the receiver has already been started and still runs code (hasn't died yet).

(Inherited from Thread)
IsInterrupted IsInterrupted

Returns a boolean indicating whether the receiver has a pending interrupt request (true) or not ( false)

(Inherited from Thread)
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
Name Name

Returns the name of the Thread.

(Inherited from Thread)
PeerReference PeerReference Inherited from Object
Pool Pool

Returns the pool hosting this thread.

PoolIndex PoolIndex

Returns the unique index number of this thread in its pool.

Priority Priority

Returns the priority of the Thread.

(Inherited from Thread)
ThreadGroup ThreadGroup

Returns the ThreadGroup to which this Thread belongs.

(Inherited from Thread)
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

UncaughtExceptionHandler UncaughtExceptionHandler

Returns the thread's uncaught exception handler.

(Inherited from Thread)

Methods

CheckAccess() CheckAccess()

Does nothing.

(Inherited from Thread)
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CountStackFrames() CountStackFrames()

Returns the number of stack frames in this thread.

(Inherited from Thread)
Destroy() Destroy()

Throws UnsupportedOperationException.

(Inherited from Thread)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetStackTrace() GetStackTrace()

Returns an array of StackTraceElement representing the current thread's stack.

(Inherited from Thread)
GetState() GetState()

Returns the current state of the Thread.

(Inherited from Thread)
Interrupt() Interrupt()

Posts an interrupt request to this Thread.

(Inherited from Thread)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Join() Join()

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies.

(Inherited from Thread)
Join(Int64) Join(Int64)

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first.

(Inherited from Thread)
Join(Int64, Int32) Join(Int64, Int32)

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first.

(Inherited from Thread)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
OnStart() OnStart()

Initializes internal state after construction but before processing any tasks.

OnTermination(Throwable) OnTermination(Throwable)

Performs cleanup associated with termination of this worker thread.

Resume() Resume()

Throws UnsupportedOperationException.

(Inherited from Thread)
Run() Run()

Calls the run() method of the Runnable object the receiver holds.

(Inherited from Thread)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
Start() Start()

Starts the new Thread of execution.

(Inherited from Thread)
Stop() Stop()

Requests the receiver Thread to stop and throw ThreadDeath.

(Inherited from Thread)
Stop(Throwable) Stop(Throwable)

Throws UnsupportedOperationException.

(Inherited from Thread)
Suspend() Suspend()

Throws UnsupportedOperationException.

(Inherited from Thread)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Fields

MaxPriority MaxPriority

The maximum priority value allowed for a thread.

(Inherited from Thread)
MinPriority MinPriority

The minimum priority value allowed for a thread.

(Inherited from Thread)
NormPriority NormPriority

The normal (default) priority value assigned to the main thread.

(Inherited from Thread)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to