public class DelayedScheduler
extends java.lang.Object
| Constructor and Description |
|---|
DelayedScheduler() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.CompletableFuture<java.lang.Void> |
schedule(java.lang.Runnable task,
long delay,
java.util.concurrent.TimeUnit unit) |
static <A> java.util.concurrent.CompletableFuture<A> |
schedule(java.util.function.Supplier<A> supplier,
long delay,
java.util.concurrent.TimeUnit unit) |
@Nonnull
public static java.util.concurrent.CompletableFuture<java.lang.Void> schedule(java.lang.Runnable task,
long delay,
java.util.concurrent.TimeUnit unit)
@Nonnull
public static <A> java.util.concurrent.CompletableFuture<A> schedule(java.util.function.Supplier<A> supplier,
long delay,
java.util.concurrent.TimeUnit unit)