|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.libxjava.concurrent.ScheduledTaskExecutor
public class ScheduledTaskExecutor
| Constructor Summary | |
|---|---|
ScheduledTaskExecutor(int initialPoolSize,
int maxPoolSize,
long keepAliveTimeInMillis,
IThreadFactory threadFactory)
|
|
| Method Summary | |
|---|---|
protected void |
afterExecute(TaskFuture task,
Throwable t)
|
protected void |
beforeExecute(Thread workThread,
TaskFuture task)
|
protected TaskFuture |
createTaskFuture(Object target)
|
TaskFuture |
schedule(Runnable target,
long delayInMillis)
|
TaskFuture |
scheduleAtFixedRate(Runnable target,
long delayInMillis,
long periodInMillis)
|
TaskFuture |
submit(Runnable target)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduledTaskExecutor(int initialPoolSize,
int maxPoolSize,
long keepAliveTimeInMillis,
IThreadFactory threadFactory)
| Method Detail |
|---|
public TaskFuture submit(Runnable target)
public TaskFuture schedule(Runnable target,
long delayInMillis)
public TaskFuture scheduleAtFixedRate(Runnable target,
long delayInMillis,
long periodInMillis)
protected void beforeExecute(Thread workThread,
TaskFuture task)
protected void afterExecute(TaskFuture task,
Throwable t)
protected TaskFuture createTaskFuture(Object target)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||