Table of Contents

Class Executors

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class Executors : JVMBridgeBase<Executors>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Executors>
Executors
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Executors>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Executors>.IsAssignableFrom<T>()
JVMBridgeBase<Executors>.Execute<T>(params T[])
JVMBridgeBase<Executors>.DynBridgeClazz
JVMBridgeBase<Executors>.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

Executors()

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

public Executors()

Executors(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 Executors(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

Callable(Runnable)

public static Callable<object> Callable(Runnable arg0)

Parameters

arg0 Runnable

Runnable

Returns

Callable<object>

Callable

Callable(PrivilegedAction<object>)

public static Callable<object> Callable(PrivilegedAction<object> arg0)

Parameters

arg0 PrivilegedAction<object>

PrivilegedAction

Returns

Callable<object>

Callable

Callable(PrivilegedExceptionAction<object>)

public static Callable<object> Callable(PrivilegedExceptionAction<object> arg0)

Parameters

arg0 PrivilegedExceptionAction<object>

PrivilegedExceptionAction

Returns

Callable<object>

Callable

Callable<T>(Runnable, T)

public static Callable<T> Callable<T>(Runnable arg0, T arg1)

Parameters

arg0 Runnable

Runnable

arg1 T

T

Returns

Callable<T>

Callable

Type Parameters

T

DefaultThreadFactoryMethod()

public static ThreadFactory DefaultThreadFactoryMethod()

Returns

ThreadFactory

ThreadFactory

NewCachedThreadPool()

public static ExecutorService NewCachedThreadPool()

Returns

ExecutorService

ExecutorService

NewCachedThreadPool(ThreadFactory)

public static ExecutorService NewCachedThreadPool(ThreadFactory arg0)

Parameters

arg0 ThreadFactory

ThreadFactory

Returns

ExecutorService

ExecutorService

NewFixedThreadPool(int)

public static ExecutorService NewFixedThreadPool(int arg0)

Parameters

arg0 int

int

Returns

ExecutorService

ExecutorService

NewFixedThreadPool(int, ThreadFactory)

public static ExecutorService NewFixedThreadPool(int arg0, ThreadFactory arg1)

Parameters

arg0 int

int

arg1 ThreadFactory

ThreadFactory

Returns

ExecutorService

ExecutorService

NewScheduledThreadPool(int)

public static ScheduledExecutorService NewScheduledThreadPool(int arg0)

Parameters

arg0 int

int

Returns

ScheduledExecutorService

ScheduledExecutorService

NewScheduledThreadPool(int, ThreadFactory)

public static ScheduledExecutorService NewScheduledThreadPool(int arg0, ThreadFactory arg1)

Parameters

arg0 int

int

arg1 ThreadFactory

ThreadFactory

Returns

ScheduledExecutorService

ScheduledExecutorService

NewSingleThreadExecutor()

public static ExecutorService NewSingleThreadExecutor()

Returns

ExecutorService

ExecutorService

NewSingleThreadExecutor(ThreadFactory)

public static ExecutorService NewSingleThreadExecutor(ThreadFactory arg0)

Parameters

arg0 ThreadFactory

ThreadFactory

Returns

ExecutorService

ExecutorService

NewSingleThreadScheduledExecutor()

public static ScheduledExecutorService NewSingleThreadScheduledExecutor()

Returns

ScheduledExecutorService

ScheduledExecutorService

NewSingleThreadScheduledExecutor(ThreadFactory)

public static ScheduledExecutorService NewSingleThreadScheduledExecutor(ThreadFactory arg0)

Parameters

arg0 ThreadFactory

ThreadFactory

Returns

ScheduledExecutorService

ScheduledExecutorService

NewWorkStealingPool()

public static ExecutorService NewWorkStealingPool()

Returns

ExecutorService

ExecutorService

NewWorkStealingPool(int)

public static ExecutorService NewWorkStealingPool(int arg0)

Parameters

arg0 int

int

Returns

ExecutorService

ExecutorService

PrivilegedCallableMethod<T>(Callable<T>)

public static Callable<T> PrivilegedCallableMethod<T>(Callable<T> arg0)

Parameters

arg0 Callable<T>

Callable

Returns

Callable<T>

Callable

Type Parameters

T

PrivilegedCallableUsingCurrentClassLoaderMethod<T>(Callable<T>)

public static Callable<T> PrivilegedCallableUsingCurrentClassLoaderMethod<T>(Callable<T> arg0)

Parameters

arg0 Callable<T>

Callable

Returns

Callable<T>

Callable

Type Parameters

T

PrivilegedThreadFactoryMethod()

public static ThreadFactory PrivilegedThreadFactoryMethod()

Returns

ThreadFactory

ThreadFactory

UnconfigurableExecutorService(ExecutorService)

public static ExecutorService UnconfigurableExecutorService(ExecutorService arg0)

Parameters

arg0 ExecutorService

ExecutorService

Returns

ExecutorService

ExecutorService

UnconfigurableScheduledExecutorService(ScheduledExecutorService)

public static ScheduledExecutorService UnconfigurableScheduledExecutorService(ScheduledExecutorService arg0)

Parameters

arg0 ScheduledExecutorService

ScheduledExecutorService

Returns

ScheduledExecutorService

ScheduledExecutorService