Table of Contents

Class ScheduledThreadPoolExecutor

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

ScheduledThreadPoolExecutor()

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

public ScheduledThreadPoolExecutor()

ScheduledThreadPoolExecutor(int)

public ScheduledThreadPoolExecutor(int arg0)

Parameters

arg0 int

int

ScheduledThreadPoolExecutor(int, RejectedExecutionHandler)

public ScheduledThreadPoolExecutor(int arg0, RejectedExecutionHandler arg1)

Parameters

arg0 int

int

arg1 RejectedExecutionHandler

RejectedExecutionHandler

ScheduledThreadPoolExecutor(int, ThreadFactory)

public ScheduledThreadPoolExecutor(int arg0, ThreadFactory arg1)

Parameters

arg0 int

int

arg1 ThreadFactory

ThreadFactory

ScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler)

public ScheduledThreadPoolExecutor(int arg0, ThreadFactory arg1, RejectedExecutionHandler arg2)

Parameters

arg0 int

int

arg1 ThreadFactory

ThreadFactory

arg2 RejectedExecutionHandler

RejectedExecutionHandler

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ContinueExistingPeriodicTasksAfterShutdownPolicy

public bool ContinueExistingPeriodicTasksAfterShutdownPolicy { get; set; }

Property Value

bool

ExecuteExistingDelayedTasksAfterShutdownPolicy

public bool ExecuteExistingDelayedTasksAfterShutdownPolicy { get; set; }

Property Value

bool

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

RemoveOnCancelPolicy

public bool RemoveOnCancelPolicy { get; set; }

Property Value

bool

Methods

Schedule(Runnable, long, TimeUnit)

public ScheduledFuture<object> Schedule(Runnable arg0, long arg1, TimeUnit arg2)

Parameters

arg0 Runnable

Runnable

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

ScheduledFuture<object>

ScheduledFuture

ScheduleAtFixedRate(Runnable, long, long, TimeUnit)

public ScheduledFuture<object> ScheduleAtFixedRate(Runnable arg0, long arg1, long arg2, TimeUnit arg3)

Parameters

arg0 Runnable

Runnable

arg1 long

long

arg2 long

long

arg3 TimeUnit

TimeUnit

Returns

ScheduledFuture<object>

ScheduledFuture

ScheduleWithFixedDelay(Runnable, long, long, TimeUnit)

public ScheduledFuture<object> ScheduleWithFixedDelay(Runnable arg0, long arg1, long arg2, TimeUnit arg3)

Parameters

arg0 Runnable

Runnable

arg1 long

long

arg2 long

long

arg3 TimeUnit

TimeUnit

Returns

ScheduledFuture<object>

ScheduledFuture

Schedule<V>(Callable<V>, long, TimeUnit)

public ScheduledFuture<V> Schedule<V>(Callable<V> arg0, long arg1, TimeUnit arg2)

Parameters

arg0 Callable<V>

Callable

arg1 long

long

arg2 TimeUnit

TimeUnit

Returns

ScheduledFuture<V>

ScheduledFuture

Type Parameters

V

Operators

implicit operator ScheduledExecutorService(ScheduledThreadPoolExecutor)

public static implicit operator ScheduledExecutorService(ScheduledThreadPoolExecutor t)

Parameters

t ScheduledThreadPoolExecutor

Returns

ScheduledExecutorService