ScheduledThreadPoolExecutor.getRemoveOnCancelPolicy

Gets the policy on whether cancelled tasks should be immediately removed from the work queue at time of cancellation. This value is by default {@code false}.

@return {@code true} if cancelled tasks are immediately removed from the queue @see #setRemoveOnCancelPolicy

class ScheduledThreadPoolExecutor
bool
getRemoveOnCancelPolicy
()

Meta