Table of Contents

Interface ICompletionService<V>

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

.NET interface for TO BE DEFINED FROM USER

public interface ICompletionService<V>

Type Parameters

V

Methods

Poll()

Future<V> Poll()

Returns

Future<V>

Future

Poll(long, TimeUnit)

Future<V> Poll(long arg0, TimeUnit arg1)

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

Future<V>

Future

Exceptions

InterruptedException

Submit(Runnable, V)

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

Parameters

arg0 Runnable

Runnable

arg1 V

V

Returns

Future<V>

Future

Submit(Callable<V>)

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

Parameters

arg0 Callable<V>

Callable

Returns

Future<V>

Future

Take()

Future<V> Take()

Returns

Future<V>

Future

Exceptions

InterruptedException