Class ExecutorService
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class ExecutorService : Executor, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IExecutorService, IExecutor
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Executor>ExecutorService
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- 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
ExecutorService()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("ExecutorService 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 ExecutorService()
ExecutorService(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("ExecutorService 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 ExecutorService(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
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
Methods
AwaitTermination(long, TimeUnit)
public bool AwaitTermination(long arg0, TimeUnit arg1)
Parameters
Returns
Exceptions
InvokeAll<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>)
public List<Future<T>> InvokeAll<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_> arg0) where Arg0ExtendsJava_Util_Concurrent_Callable_T_ : Callable<T>
Parameters
arg0
Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>
Returns
Type Parameters
T
Arg0ExtendsJava_Util_Concurrent_Callable_T_
Exceptions
InvokeAll<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>, long, TimeUnit)
public List<Future<T>> InvokeAll<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_> arg0, long arg1, TimeUnit arg2) where Arg0ExtendsJava_Util_Concurrent_Callable_T_ : Callable<T>
Parameters
arg0
Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>arg1
longarg2
TimeUnit
Returns
Type Parameters
T
Arg0ExtendsJava_Util_Concurrent_Callable_T_
Exceptions
InvokeAny<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>)
public T InvokeAny<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_> arg0) where Arg0ExtendsJava_Util_Concurrent_Callable_T_ : Callable<T>
Parameters
arg0
Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>
Returns
- T
T
Type Parameters
T
Arg0ExtendsJava_Util_Concurrent_Callable_T_
Exceptions
InvokeAny<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>, long, TimeUnit)
public T InvokeAny<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_> arg0, long arg1, TimeUnit arg2) where Arg0ExtendsJava_Util_Concurrent_Callable_T_ : Callable<T>
Parameters
arg0
Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>arg1
longarg2
TimeUnit
Returns
- T
T
Type Parameters
T
Arg0ExtendsJava_Util_Concurrent_Callable_T_
Exceptions
IsShutdown()
public bool IsShutdown()
Returns
IsTerminated()
public bool IsTerminated()
Returns
Shutdown()
public void Shutdown()
ShutdownNow()
public List<Runnable> ShutdownNow()
Returns
Submit(Runnable)
public Future<object> Submit(Runnable arg0)
Parameters
Returns
Submit<T>(Runnable, T)
public Future<T> Submit<T>(Runnable arg0, T arg1)
Parameters
Returns
Type Parameters
T
Submit<T>(Callable<T>)
public Future<T> Submit<T>(Callable<T> arg0)
Parameters
Returns
Type Parameters
T