Table of Contents

Class ForkJoinTask

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class ForkJoinTask : JVMBridgeBase<ForkJoinTask>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ForkJoinTask>
ForkJoinTask
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<ForkJoinTask>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ForkJoinTask>.IsAssignableFrom<T>()
JVMBridgeBase<ForkJoinTask>.Execute<T>(params T[])
JVMBridgeBase<ForkJoinTask>.DynBridgeClazz
JVMBridgeBase<ForkJoinTask>.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

ForkJoinTask()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("ForkJoinTask 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 ForkJoinTask()

ForkJoinTask(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("ForkJoinTask 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 ForkJoinTask(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Exception

public Throwable Exception { get; }

Property Value

Throwable

ForkJoinTaskTag

public short ForkJoinTaskTag { get; }

Property Value

short

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

Pool

public static ForkJoinPool Pool { get; }

Property Value

ForkJoinPool

QueuedTaskCount

public static int QueuedTaskCount { get; }

Property Value

int

RawResult

public object RawResult { get; }

Property Value

object

SurplusQueuedTaskCount

public static int SurplusQueuedTaskCount { get; }

Property Value

int

Methods

Adapt(Runnable)

public static ForkJoinTask Adapt(Runnable arg0)

Parameters

arg0 Runnable

Runnable

Returns

ForkJoinTask

ForkJoinTask

Adapt(Runnable, object)

public static ForkJoinTask Adapt(Runnable arg0, object arg1)

Parameters

arg0 Runnable

Runnable

arg1 object

object

Returns

ForkJoinTask

ForkJoinTask

Adapt(Callable)

public static ForkJoinTask Adapt(Callable arg0)

Parameters

arg0 Callable

Callable

Returns

ForkJoinTask

ForkJoinTask

Cancel(bool)

public bool Cancel(bool arg0)

Parameters

arg0 bool

bool

Returns

bool

bool

CompareAndSetForkJoinTaskTag(short, short)

public bool CompareAndSetForkJoinTaskTag(short arg0, short arg1)

Parameters

arg0 short

short

arg1 short

short

Returns

bool

bool

Complete(object)

public void Complete(object arg0)

Parameters

arg0 object

object

CompleteExceptionally(JVMBridgeException)

public void CompleteExceptionally(JVMBridgeException arg0)

Parameters

arg0 JVMBridgeException

Throwable

Fork()

public ForkJoinTask Fork()

Returns

ForkJoinTask

ForkJoinTask

Get()

public object Get()

Returns

object

object

Exceptions

InterruptedException
ExecutionException

Get(long, TimeUnit)

public object Get(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

object

object

Exceptions

InterruptedException
ExecutionException
TimeoutException

HelpQuiesce()

public static void HelpQuiesce()

InForkJoinPool()

public static bool InForkJoinPool()

Returns

bool

bool

Invoke()

public object Invoke()

Returns

object

object

InvokeAll(Collection)

public static Collection InvokeAll(Collection arg0)

Parameters

arg0 Collection

Collection

Returns

Collection

Collection

InvokeAll(ForkJoinTask, ForkJoinTask)

public static void InvokeAll(ForkJoinTask arg0, ForkJoinTask arg1)

Parameters

arg0 ForkJoinTask

ForkJoinTask

arg1 ForkJoinTask

ForkJoinTask

InvokeAll(params ForkJoinTask[])

public static void InvokeAll(params ForkJoinTask[] arg0)

Parameters

arg0 ForkJoinTask[]

ForkJoinTask

IsCancelled()

public bool IsCancelled()

Returns

bool

bool

IsCompletedAbnormally()

public bool IsCompletedAbnormally()

Returns

bool

bool

IsCompletedNormally()

public bool IsCompletedNormally()

Returns

bool

bool

IsDone()

public bool IsDone()

Returns

bool

bool

Join()

public object Join()

Returns

object

object

QuietlyComplete()

public void QuietlyComplete()

QuietlyInvoke()

public void QuietlyInvoke()

QuietlyJoin()

public void QuietlyJoin()

Reinitialize()

public void Reinitialize()

SetForkJoinTaskTag(short)

public short SetForkJoinTaskTag(short arg0)

Parameters

arg0 short

short

Returns

short

short

TryUnfork()

public bool TryUnfork()

Returns

bool

bool

Operators

implicit operator Serializable(ForkJoinTask)

Converter from ForkJoinTask to Serializable

public static implicit operator Serializable(ForkJoinTask t)

Parameters

t ForkJoinTask

Returns

Serializable

implicit operator Future(ForkJoinTask)

Converter from ForkJoinTask to Future

public static implicit operator Future(ForkJoinTask t)

Parameters

t ForkJoinTask

Returns

Future