public final class ScheduledExecutorUtils extends Object
ScheduledExecutors.| Modifier and Type | Class and Description |
|---|---|
static class |
ScheduledExecutorUtils.UnmanagedScheduledExecutorService
Wrapper around
ScheduledExecutorService to prevent it from being
closed. |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledExecutorService |
unmanagedScheduledExecutor(ScheduledExecutorService executor)
Wrap a scheduled executor in a type that cannot be closed, or shut down.
|
public static ScheduledExecutorService unmanagedScheduledExecutor(ScheduledExecutorService executor)
Copyright © 2023. All rights reserved.