ScheduledThreadPoolExecutor.ExecuteExistingDelayedTasksAfterShutdownPolicy Property

Definition

Gets the policy on whether to execute existing delayed tasks even when this executor has been shutdown. -or- Sets the policy on whether to execute existing delayed tasks even when this executor has been shutdown.

public virtual bool ExecuteExistingDelayedTasksAfterShutdownPolicy { [Android.Runtime.Register("getExecuteExistingDelayedTasksAfterShutdownPolicy", "()Z", "GetGetExecuteExistingDelayedTasksAfterShutdownPolicyHandler")] get; [Android.Runtime.Register("setExecuteExistingDelayedTasksAfterShutdownPolicy", "(Z)V", "GetSetExecuteExistingDelayedTasksAfterShutdownPolicy_ZHandler")] set; }
[<get: Android.Runtime.Register("getExecuteExistingDelayedTasksAfterShutdownPolicy", "()Z", "GetGetExecuteExistingDelayedTasksAfterShutdownPolicyHandler")>]
[<set: Android.Runtime.Register("setExecuteExistingDelayedTasksAfterShutdownPolicy", "(Z)V", "GetSetExecuteExistingDelayedTasksAfterShutdownPolicy_ZHandler")>]
member this.ExecuteExistingDelayedTasksAfterShutdownPolicy : bool with get, set

Property Value

true if will execute after shutdown

Attributes

Remarks

Property getter documentation:

Gets the policy on whether to execute existing delayed tasks even when this executor has been shutdown. In this case, these tasks will only terminate upon shutdownNow, or after setting the policy to false when already shutdown. This value is by default true.

Java documentation for java.util.concurrent.ScheduledThreadPoolExecutor.getExecuteExistingDelayedTasksAfterShutdownPolicy().

Property setter documentation:

Sets the policy on whether to execute existing delayed tasks even when this executor has been shutdown. In this case, these tasks will only terminate upon shutdownNow, or after setting the policy to false when already shutdown. This value is by default true.

Java documentation for java.util.concurrent.ScheduledThreadPoolExecutor.setExecuteExistingDelayedTasksAfterShutdownPolicy(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also