Class ScheduledThreadPoolExecutor
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class ScheduledThreadPoolExecutor : ThreadPoolExecutor, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IExecutorService, IExecutor
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Executor>ScheduledThreadPoolExecutor
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Executor>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<Executor>.IsAssignableFrom(IJavaType)JVMBridgeBase<Executor>.IsAssignableFrom<T>()JVMBridgeBase<Executor>.Execute<T>(params T[])JVMBridgeBase<Executor>.DynBridgeClazzJVMBridgeBase<Executor>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
ScheduledThreadPoolExecutor(int, RejectedExecutionHandler)
public ScheduledThreadPoolExecutor(int arg0, RejectedExecutionHandler arg1)
Parameters
ScheduledThreadPoolExecutor(int, ThreadFactory)
public ScheduledThreadPoolExecutor(int arg0, ThreadFactory arg1)
Parameters
arg0
intarg1
ThreadFactory
ScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler)
public ScheduledThreadPoolExecutor(int arg0, ThreadFactory arg1, RejectedExecutionHandler arg2)
Parameters
arg0
intarg1
ThreadFactoryarg2
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ContinueExistingPeriodicTasksAfterShutdownPolicy
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html#getContinueExistingPeriodicTasksAfterShutdownPolicy() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html#setContinueExistingPeriodicTasksAfterShutdownPolicy(boolean)
public bool ContinueExistingPeriodicTasksAfterShutdownPolicy { get; set; }
Property Value
ExecuteExistingDelayedTasksAfterShutdownPolicy
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html#getExecuteExistingDelayedTasksAfterShutdownPolicy() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html#setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean)
public bool ExecuteExistingDelayedTasksAfterShutdownPolicy { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
RemoveOnCancelPolicy
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html#getRemoveOnCancelPolicy() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ScheduledThreadPoolExecutor.html#setRemoveOnCancelPolicy(boolean)
public bool RemoveOnCancelPolicy { get; set; }
Property Value
Methods
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
Operators
implicit operator ScheduledExecutorService(ScheduledThreadPoolExecutor)
Converter from ScheduledThreadPoolExecutor to ScheduledExecutorService
public static implicit operator ScheduledExecutorService(ScheduledThreadPoolExecutor t)