Class ForkJoinPool
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class ForkJoinPool : AbstractExecutorService, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IExecutorService, IExecutor
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Executor>ForkJoinPool
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Executor>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<Executor>.IsAssignableFrom(IJavaType)JVMBridgeBase<Executor>.IsAssignableFrom<T>()JVMBridgeBase<Executor>.Execute<T>(params T[])JVMBridgeBase<Executor>.DynBridgeClazzJVMBridgeBase<Executor>.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
ForkJoinPool()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ForkJoinPool()
ForkJoinPool(int)
public ForkJoinPool(int arg0)
Parameters
ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, bool)
public ForkJoinPool(int arg0, ForkJoinPool.ForkJoinWorkerThreadFactory arg1, Thread.UncaughtExceptionHandler arg2, bool arg3)
Parameters
arg0
intarg1
ForkJoinPool.ForkJoinWorkerThreadFactoryarg2
Thread.UncaughtExceptionHandlerarg3
bool
ForkJoinPool(int, ForkJoinWorkerThreadFactory, UncaughtExceptionHandler, bool, int, int, int, Predicate, long, TimeUnit)
public ForkJoinPool(int arg0, ForkJoinPool.ForkJoinWorkerThreadFactory arg1, Thread.UncaughtExceptionHandler arg2, bool arg3, int arg4, int arg5, int arg6, Predicate arg7, long arg8, TimeUnit arg9)
Parameters
arg0
intarg1
ForkJoinPool.ForkJoinWorkerThreadFactoryarg2
Thread.UncaughtExceptionHandlerarg3
boolarg4
intarg5
intarg6
intarg7
Predicatearg8
longarg9
TimeUnit
ForkJoinPool(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
public ForkJoinPool(params object[] args)
Parameters
args
object[]
Properties
ActiveThreadCount
public int ActiveThreadCount { get; }
Property Value
AsyncMode
public bool AsyncMode { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CommonPoolParallelism
public static int CommonPoolParallelism { get; }
Property Value
Factory
public ForkJoinPool.ForkJoinWorkerThreadFactory Factory { 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
Parallelism
public int Parallelism { get; }
Property Value
PoolSize
public int PoolSize { get; }
Property Value
QueuedSubmissionCount
public int QueuedSubmissionCount { get; }
Property Value
QueuedTaskCount
public long QueuedTaskCount { get; }
Property Value
RunningThreadCount
public int RunningThreadCount { get; }
Property Value
StealCount
public long StealCount { get; }
Property Value
defaultForkJoinWorkerThreadFactory
public static ForkJoinPool.ForkJoinWorkerThreadFactory defaultForkJoinWorkerThreadFactory { get; }
Property Value
Methods
AwaitQuiescence(long, TimeUnit)
public bool AwaitQuiescence(long arg0, TimeUnit arg1)
Parameters
Returns
CommonPool()
public static ForkJoinPool CommonPool()
Returns
Execute(ForkJoinTask<object>)
public void Execute(ForkJoinTask<object> arg0)
Parameters
arg0
ForkJoinTask<object>
HasQueuedSubmissions()
public bool HasQueuedSubmissions()
Returns
Invoke<T>(ForkJoinTask<T>)
public T Invoke<T>(ForkJoinTask<T> arg0)
Parameters
arg0
ForkJoinTask<T>
Returns
- T
T
Type Parameters
T
IsQuiescent()
public bool IsQuiescent()
Returns
IsTerminating()
public bool IsTerminating()
Returns
ManagedBlock(ManagedBlocker)
public static void ManagedBlock(ForkJoinPool.ManagedBlocker arg0)
Parameters
Exceptions
Submit<T>(ForkJoinTask<T>)
public ForkJoinTask<T> Submit<T>(ForkJoinTask<T> arg0)
Parameters
arg0
ForkJoinTask<T>
Returns
Type Parameters
T