Table of Contents

Class ExecutorCompletionService<V>

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class ExecutorCompletionService<V> : CompletionService<V>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICompletionService<V>

Type Parameters

V
Inheritance
JVMBridgeBase
JVMBridgeBase<CompletionService<V>>
ExecutorCompletionService<V>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<CompletionService<V>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<CompletionService<V>>.IsAssignableFrom<T>()
JVMBridgeBase<CompletionService<V>>.Execute<T>(params T[])
JVMBridgeBase<CompletionService<V>>.DynBridgeClazz
JVMBridgeBase<CompletionService<V>>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ExecutorCompletionService()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ExecutorCompletionService()

ExecutorCompletionService(Executor)

public ExecutorCompletionService(Executor arg0)

Parameters

arg0 Executor

Executor

ExecutorCompletionService(Executor, BlockingQueue<Future<V>>)

public ExecutorCompletionService(Executor arg0, BlockingQueue<Future<V>> arg1)

Parameters

arg0 Executor

Executor

arg1 BlockingQueue<Future<V>>

BlockingQueue

ExecutorCompletionService(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 ExecutorCompletionService(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Poll()

public Future<V> Poll()

Returns

Future<V>

Future

Poll(long, TimeUnit)

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

Parameters

arg0 long

long

arg1 TimeUnit

TimeUnit

Returns

Future<V>

Future

Exceptions

InterruptedException

Submit(Runnable, V)

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

Parameters

arg0 Runnable

Runnable

arg1 V

V

Returns

Future<V>

Future

Submit(Callable<V>)

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

Parameters

arg0 Callable<V>

Callable

Returns

Future<V>

Future

Take()

public Future<V> Take()

Returns

Future<V>

Future

Exceptions

InterruptedException

Operators

implicit operator ExecutorCompletionService(ExecutorCompletionService<V>)

public static implicit operator ExecutorCompletionService(ExecutorCompletionService<V> t)

Parameters

t ExecutorCompletionService<V>

Returns

ExecutorCompletionService