Class ForkJoinTask
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class ForkJoinTask : JVMBridgeBase<ForkJoinTask>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ForkJoinTask>ForkJoinTask
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<ForkJoinTask>.IsAssignableFrom(IJavaType)JVMBridgeBase<ForkJoinTask>.IsAssignableFrom<T>()JVMBridgeBase<ForkJoinTask>.Execute<T>(params T[])JVMBridgeBase<ForkJoinTask>.DynBridgeClazzJVMBridgeBase<ForkJoinTask>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Exception
public Throwable Exception { get; }
Property Value
ForkJoinTaskTag
public short ForkJoinTaskTag { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Pool
public static ForkJoinPool Pool { get; }
Property Value
QueuedTaskCount
public static int QueuedTaskCount { get; }
Property Value
RawResult
public object RawResult { get; }
Property Value
SurplusQueuedTaskCount
public static int SurplusQueuedTaskCount { get; }
Property Value
Methods
Adapt(Runnable)
public static ForkJoinTask Adapt(Runnable arg0)
Parameters
Returns
Adapt(Runnable, object)
public static ForkJoinTask Adapt(Runnable arg0, object arg1)
Parameters
Returns
Adapt(Callable)
public static ForkJoinTask Adapt(Callable arg0)
Parameters
Returns
Cancel(bool)
public bool Cancel(bool arg0)
Parameters
Returns
CompareAndSetForkJoinTaskTag(short, short)
public bool CompareAndSetForkJoinTaskTag(short arg0, short arg1)
Parameters
Returns
Complete(object)
public void Complete(object arg0)
Parameters
CompleteExceptionally(JVMBridgeException)
public void CompleteExceptionally(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Fork()
public ForkJoinTask Fork()
Returns
Get()
public object Get()
Returns
Exceptions
Get(long, TimeUnit)
public object Get(long arg0, TimeUnit arg1)
Parameters
Returns
Exceptions
HelpQuiesce()
public static void HelpQuiesce()
InForkJoinPool()
public static bool InForkJoinPool()
Returns
Invoke()
public object Invoke()
Returns
InvokeAll(Collection)
public static Collection InvokeAll(Collection arg0)
Parameters
arg0
Collection
Returns
InvokeAll(ForkJoinTask, ForkJoinTask)
public static void InvokeAll(ForkJoinTask arg0, ForkJoinTask arg1)
Parameters
arg0
ForkJoinTaskarg1
ForkJoinTask
InvokeAll(params ForkJoinTask[])
public static void InvokeAll(params ForkJoinTask[] arg0)
Parameters
arg0
ForkJoinTask[]
IsCancelled()
public bool IsCancelled()
Returns
IsCompletedAbnormally()
public bool IsCompletedAbnormally()
Returns
IsCompletedNormally()
public bool IsCompletedNormally()
Returns
IsDone()
public bool IsDone()
Returns
Join()
public object Join()
Returns
QuietlyComplete()
public void QuietlyComplete()
QuietlyInvoke()
public void QuietlyInvoke()
QuietlyJoin()
public void QuietlyJoin()
Reinitialize()
public void Reinitialize()
SetForkJoinTaskTag(short)
public short SetForkJoinTaskTag(short arg0)
Parameters
Returns
TryUnfork()
public bool TryUnfork()
Returns
Operators
implicit operator Serializable(ForkJoinTask)
Converter from ForkJoinTask to Serializable
public static implicit operator Serializable(ForkJoinTask t)
Parameters
Returns
implicit operator Future(ForkJoinTask)
Converter from ForkJoinTask to Future
public static implicit operator Future(ForkJoinTask t)