public class CachedSingleThreadScheduler extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TTL_MILLIS |
| Constructor and Description |
|---|
CachedSingleThreadScheduler() |
CachedSingleThreadScheduler(long ttlMillis) |
| Modifier and Type | Method and Description |
|---|---|
ScheduledFuture<?> |
schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
public CachedSingleThreadScheduler()
public CachedSingleThreadScheduler(long ttlMillis)
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit)
public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit)
Copyright © 2015–2024 Red Hat. All rights reserved.