Class ForkJoinTask<V>
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class ForkJoinTask<V> : JVMBridgeBase<ForkJoinTask<V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ForkJoinTask<V>>ForkJoinTask<V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<ForkJoinTask<V>>.SExecuteWithSignature<TReturn>(Type, string, string, params object[])JVMBridgeBase<ForkJoinTask<V>>.IsAssignableFrom(IJavaType)JVMBridgeBase<ForkJoinTask<V>>.IsAssignableFrom<T>()JVMBridgeBase<ForkJoinTask<V>>.Execute<T>(params T[])JVMBridgeBase<ForkJoinTask<V>>.DynBridgeClazzJVMBridgeBase<ForkJoinTask<V>>.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 V RawResult { get; }
Property Value
- V
SurplusQueuedTaskCount
public static int SurplusQueuedTaskCount { get; }
Property Value
Methods
Adapt(Runnable)
public static ForkJoinTask<object> Adapt(Runnable arg0)
Parameters
Returns
Adapt<T>(Runnable, T)
public static ForkJoinTask<T> Adapt<T>(Runnable arg0, T arg1)
Parameters
Returns
Type Parameters
T
Adapt<T, Arg0ExtendsT>(Callable<Arg0ExtendsT>)
public static ForkJoinTask<T> Adapt<T, Arg0ExtendsT>(Callable<Arg0ExtendsT> arg0) where Arg0ExtendsT : T
Parameters
Returns
Type Parameters
T
Arg0ExtendsT
T
Cancel(bool)
public bool Cancel(bool arg0)
Parameters
Returns
CompareAndSetForkJoinTaskTag(short, short)
public bool CompareAndSetForkJoinTaskTag(short arg0, short arg1)
Parameters
Returns
Complete(V)
public void Complete(V arg0)
Parameters
arg0
VV
CompleteExceptionally(JVMBridgeException)
public void CompleteExceptionally(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Fork()
public ForkJoinTask<V> Fork()
Returns
Get()
public V Get()
Returns
- V
V
Exceptions
Get(long, TimeUnit)
public V Get(long arg0, TimeUnit arg1)
Parameters
Returns
- V
V
Exceptions
HelpQuiesce()
public static void HelpQuiesce()
InForkJoinPool()
public static bool InForkJoinPool()
Returns
Invoke()
public V Invoke()
Returns
- V
V
InvokeAll(ForkJoinTask<object>, ForkJoinTask<object>)
public static void InvokeAll(ForkJoinTask<object> arg0, ForkJoinTask<object> arg1)
Parameters
arg0
ForkJoinTask<object>arg1
ForkJoinTask<object>
InvokeAll(params ForkJoinTask<object>[])
public static void InvokeAll(params ForkJoinTask<object>[] arg0)
Parameters
arg0
ForkJoinTask<object>[]
InvokeAll<T>(Collection<T>)
public static Collection<T> InvokeAll<T>(Collection<T> arg0)
Parameters
arg0
Collection<T>
Returns
Type Parameters
T
IsCancelled()
public bool IsCancelled()
Returns
IsCompletedAbnormally()
public bool IsCompletedAbnormally()
Returns
IsCompletedNormally()
public bool IsCompletedNormally()
Returns
IsDone()
public bool IsDone()
Returns
Join()
public V Join()
Returns
- V
V
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<V>)
Converter from ForkJoinTask<V> to Serializable
public static implicit operator Serializable(ForkJoinTask<V> t)
Parameters
t
ForkJoinTask<V>
Returns
implicit operator ForkJoinTask(ForkJoinTask<V>)
Converter from ForkJoinTask<V> to ForkJoinTask
public static implicit operator ForkJoinTask(ForkJoinTask<V> t)
Parameters
t
ForkJoinTask<V>
Returns
implicit operator Future<V>(ForkJoinTask<V>)
Converter from ForkJoinTask<V> to Future<V>
public static implicit operator Future<V>(ForkJoinTask<V> t)
Parameters
t
ForkJoinTask<V>
Returns
- Future<V>