Table of Contents

Class ScheduledThreadPoolExecutor

Namespace
Java.Util.Concurrent
Assembly
MASES.JNet.dll
public class ScheduledThreadPoolExecutor : ThreadPoolExecutor, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IExecutorService, IExecutor
Inheritance
ScheduledThreadPoolExecutor
Implements
Inherited Members
Extension Methods

Constructors

ScheduledThreadPoolExecutor(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ScheduledThreadPoolExecutor(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

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

Properties

BridgeClassName

Java class name to be instantiated

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

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

RemoveOnCancelPolicy

public bool RemoveOnCancelPolicy { get; set; }

Property Value

bool

Methods

CreatePoolableInstance(int)

HPA initializer for ScheduledThreadPoolExecutor(int arg0)

public static ScheduledThreadPoolExecutor CreatePoolableInstance(int arg0)

Parameters

arg0 int

Returns

ScheduledThreadPoolExecutor

CreatePoolableInstance(int, RejectedExecutionHandler)

HPA initializer for ScheduledThreadPoolExecutor(int arg0, Java.Util.Concurrent.RejectedExecutionHandler arg1)

public static ScheduledThreadPoolExecutor CreatePoolableInstance(int arg0, RejectedExecutionHandler arg1)

Parameters

arg0 int
arg1 RejectedExecutionHandler

Returns

ScheduledThreadPoolExecutor

CreatePoolableInstance(int, ThreadFactory)

HPA initializer for ScheduledThreadPoolExecutor(int arg0, Java.Util.Concurrent.ThreadFactory arg1)

public static ScheduledThreadPoolExecutor CreatePoolableInstance(int arg0, ThreadFactory arg1)

Parameters

arg0 int
arg1 ThreadFactory

Returns

ScheduledThreadPoolExecutor

CreatePoolableInstance(int, ThreadFactory, RejectedExecutionHandler)

HPA initializer for ScheduledThreadPoolExecutor(int arg0, Java.Util.Concurrent.ThreadFactory arg1, Java.Util.Concurrent.RejectedExecutionHandler arg2)

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

Parameters

arg0 int
arg1 ThreadFactory
arg2 RejectedExecutionHandler

Returns

ScheduledThreadPoolExecutor

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