Udostępnij za pośrednictwem


ScheduledThreadPoolExecutor.ContinueExistingPeriodicTasksAfterShutdownPolicy Property

Definition

Gets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown. -or- Sets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown.

public virtual bool ContinueExistingPeriodicTasksAfterShutdownPolicy { [Android.Runtime.Register("getContinueExistingPeriodicTasksAfterShutdownPolicy", "()Z", "GetGetContinueExistingPeriodicTasksAfterShutdownPolicyHandler")] get; [Android.Runtime.Register("setContinueExistingPeriodicTasksAfterShutdownPolicy", "(Z)V", "GetSetContinueExistingPeriodicTasksAfterShutdownPolicy_ZHandler")] set; }
[<get: Android.Runtime.Register("getContinueExistingPeriodicTasksAfterShutdownPolicy", "()Z", "GetGetContinueExistingPeriodicTasksAfterShutdownPolicyHandler")>]
[<set: Android.Runtime.Register("setContinueExistingPeriodicTasksAfterShutdownPolicy", "(Z)V", "GetSetContinueExistingPeriodicTasksAfterShutdownPolicy_ZHandler")>]
member this.ContinueExistingPeriodicTasksAfterShutdownPolicy : bool with get, set

Property Value

true if will continue after shutdown

Attributes

Remarks

Property getter documentation:

Gets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown. In this case, executions will continue until shutdownNow or the policy is set to false when already shutdown. This value is by default false.

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

Property setter documentation:

Sets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown. In this case, executions will continue until shutdownNow or the policy is set to false when already shutdown. This value is by default false.

Java documentation for java.util.concurrent.ScheduledThreadPoolExecutor.setContinueExistingPeriodicTasksAfterShutdownPolicy(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