Table of Contents

Interface IExecutorService

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IExecutorService : IExecutor
Inherited Members

Methods

AwaitTermination(long, TimeUnit)

bool AwaitTermination(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

bool

bool

Exceptions

InterruptedException

InvokeAll<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>)

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_>

Collection

Returns

List<Future<T>>

List

Type Parameters

T
Arg0ExtendsJava_Util_Concurrent_Callable_T_

Callable<V>

Exceptions

InterruptedException

InvokeAll<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>, long, TimeUnit)

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_>

Collection

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

List<Future<T>>

List

Type Parameters

T
Arg0ExtendsJava_Util_Concurrent_Callable_T_

Callable<V>

Exceptions

InterruptedException

InvokeAny<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>)

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_>

Collection

Returns

T

T

Type Parameters

T
Arg0ExtendsJava_Util_Concurrent_Callable_T_

Callable<V>

Exceptions

InterruptedException
ExecutionException

InvokeAny<T, Arg0ExtendsJava_Util_Concurrent_Callable_T_>(Collection<Arg0ExtendsJava_Util_Concurrent_Callable_T_>, long, TimeUnit)

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_>

Collection

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

T

T

Type Parameters

T
Arg0ExtendsJava_Util_Concurrent_Callable_T_

Callable<V>

Exceptions

InterruptedException
ExecutionException
TimeoutException

IsShutdown()

bool IsShutdown()

Returns

bool

bool

IsTerminated()

bool IsTerminated()

Returns

bool

bool

Shutdown()

void Shutdown()

ShutdownNow()

List<Runnable> ShutdownNow()

Returns

List<Runnable>

List

Submit(Runnable)

Future<object> Submit(Runnable arg0)

Parameters

arg0 Runnable

Runnable

Returns

Future<object>

Future

Submit<T>(Runnable, T)

Future<T> Submit<T>(Runnable arg0, T arg1)

Parameters

arg0 Runnable

Runnable

arg1 T

T

Returns

Future<T>

Future

Type Parameters

T

Submit<T>(Callable<T>)

Future<T> Submit<T>(Callable<T> arg0)

Parameters

arg0 Callable<T>

Callable

Returns

Future<T>

Future

Type Parameters

T