com.github.libxjava.concurrent
Class ScheduledTaskExecutor
java.lang.Object
com.github.libxjava.concurrent.ScheduledTaskExecutor
public class ScheduledTaskExecutor
- extends Object
- Version:
- libxjava-cdc - 0.3
- Author:
- Marcel Patzlaff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduledTaskExecutor
public ScheduledTaskExecutor(int initialPoolSize,
int maxPoolSize,
long keepAliveTimeInMillis,
IThreadFactory threadFactory)
submit
public TaskFuture submit(Runnable target)
schedule
public TaskFuture schedule(Runnable target,
long delayInMillis)
scheduleAtFixedRate
public TaskFuture scheduleAtFixedRate(Runnable target,
long delayInMillis,
long periodInMillis)
beforeExecute
protected void beforeExecute(Thread workThread,
TaskFuture task)
afterExecute
protected void afterExecute(TaskFuture task,
Throwable t)
createTaskFuture
protected TaskFuture createTaskFuture(Object target)
Copyright © 2011 Marcel Patzlaff. All Rights Reserved.