Package | Description |
---|---|
org.menacheri.jetserver.service | |
org.menacheri.jetserver.service.impl |
Modifier and Type | Method and Description |
---|---|
void |
TaskManagerService.execute(Task task) |
ScheduledFuture |
TaskManagerService.schedule(Task task,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled after the given delay.
|
ScheduledFuture |
TaskManagerService.scheduleAtFixedRate(Task task,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after
the given initial delay, and subsequently with the given period; that is
executions will commence after initialDelay then initialDelay+period,
then initialDelay + 2 * period, and so on.
|
ScheduledFuture |
TaskManagerService.scheduleWithFixedDelay(Task task,
long initialDelay,
long delay,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first after
the given initial delay, and subsequently with the given delay between
the termination of one execution and the commencement of the next.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
ReconnectSessionRegistry.ClearSessionTask |
Modifier and Type | Method and Description |
---|---|
void |
SimpleTaskManagerService.execute(Task task) |
ScheduledFuture |
SimpleTaskManagerService.schedule(Task task,
long delay,
TimeUnit unit) |
ScheduledFuture |
SimpleTaskManagerService.scheduleAtFixedRate(Task task,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture |
SimpleTaskManagerService.scheduleWithFixedDelay(Task task,
long initialDelay,
long delay,
TimeUnit unit) |
Copyright © 2013. All Rights Reserved.