public final class DefaultScheduler extends Object
Modifier and Type | Field and Description |
---|---|
static ScheduledExecutorService |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static ScheduledFuture<?> |
scheduleAllignedAtFixedRateMillis(Runnable command,
long millisInterval)
this will schedule a runnable aligned to the hour or day.
|
public static final ScheduledExecutorService INSTANCE
public static ScheduledFuture<?> scheduleAllignedAtFixedRateMillis(Runnable command, long millisInterval)
command
- millisInterval
- Copyright © 2014. All rights reserved.