Class ScheduledThreadPoolExecutor
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.Netdroid.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
initializerIJVMBridgeBaseInitializer
ScheduledThreadPoolExecutor(int)
public ScheduledThreadPoolExecutor(int arg0)
Parameters
ScheduledThreadPoolExecutor(int, RejectedExecutionHandler)
public ScheduledThreadPoolExecutor(int arg0, RejectedExecutionHandler arg1)
Parameters
ScheduledThreadPoolExecutor(int, ThreadFactory)
public ScheduledThreadPoolExecutor(int arg0, ThreadFactory arg1)
Parameters
arg0intarg1ThreadFactory
ScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler)
public ScheduledThreadPoolExecutor(int arg0, ThreadFactory arg1, RejectedExecutionHandler arg2)
Parameters
arg0intarg1ThreadFactoryarg2RejectedExecutionHandler
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
CreatePoolableInstance(int)
HPA initializer for ScheduledThreadPoolExecutor(int arg0)
public static ScheduledThreadPoolExecutor CreatePoolableInstance(int arg0)
Parameters
arg0int
Returns
CreatePoolableInstance(int, RejectedExecutionHandler)
HPA initializer for ScheduledThreadPoolExecutor(int arg0, Java.Util.Concurrent.RejectedExecutionHandler arg1)
public static ScheduledThreadPoolExecutor CreatePoolableInstance(int arg0, RejectedExecutionHandler arg1)
Parameters
arg0intarg1RejectedExecutionHandler
Returns
CreatePoolableInstance(int, ThreadFactory)
HPA initializer for ScheduledThreadPoolExecutor(int arg0, Java.Util.Concurrent.ThreadFactory arg1)
public static ScheduledThreadPoolExecutor CreatePoolableInstance(int arg0, ThreadFactory arg1)
Parameters
arg0intarg1ThreadFactory
Returns
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
arg0intarg1ThreadFactoryarg2RejectedExecutionHandler
Returns
GetContinueExistingPeriodicTasksAfterShutdownPolicy()
public bool GetContinueExistingPeriodicTasksAfterShutdownPolicy()
Returns
GetExecuteExistingDelayedTasksAfterShutdownPolicy()
public bool GetExecuteExistingDelayedTasksAfterShutdownPolicy()
Returns
GetRemoveOnCancelPolicy()
public bool GetRemoveOnCancelPolicy()
Returns
Schedule(Runnable, long, TimeUnit)
public ScheduledFuture<object> Schedule(Runnable arg0, long arg1, TimeUnit arg2)
Parameters
Returns
ScheduleAtFixedRate(Runnable, long, long, TimeUnit)
public ScheduledFuture<object> ScheduleAtFixedRate(Runnable arg0, long arg1, long arg2, TimeUnit arg3)
Parameters
Returns
ScheduleWithFixedDelay(Runnable, long, long, TimeUnit)
public ScheduledFuture<object> ScheduleWithFixedDelay(Runnable arg0, long arg1, long arg2, TimeUnit arg3)
Parameters
Returns
Schedule<V>(Callable<V>, long, TimeUnit)
public ScheduledFuture<V> Schedule<V>(Callable<V> arg0, long arg1, TimeUnit arg2)
Parameters
Returns
Type Parameters
V
SetContinueExistingPeriodicTasksAfterShutdownPolicy(bool)
public void SetContinueExistingPeriodicTasksAfterShutdownPolicy(bool arg0)
Parameters
SetExecuteExistingDelayedTasksAfterShutdownPolicy(bool)
public void SetExecuteExistingDelayedTasksAfterShutdownPolicy(bool arg0)
Parameters
SetRemoveOnCancelPolicy(bool)
public void SetRemoveOnCancelPolicy(bool arg0)
Parameters
Operators
implicit operator ScheduledExecutorService(ScheduledThreadPoolExecutor)
Converter from ScheduledThreadPoolExecutor to ScheduledExecutorService
public static implicit operator ScheduledExecutorService(ScheduledThreadPoolExecutor t)