public class ExecutorHandler extends java.lang.Object
Constructor and Description |
---|
ExecutorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.concurrent.ExecutorService |
getExecutor()
Note: if you are planning to run repetitive and non-time specific background tasks, you should implement Job and use getScheduler().
|
org.quartz.Scheduler |
getScheduler()
Note: you should not run long-running background tasks, which may reserve the scheduler for a long time.
|
public ExecutorHandler() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void close()
public org.quartz.Scheduler getScheduler()
public java.util.concurrent.ExecutorService getExecutor()
Copyright © 2015 Tampere University of Technology, Pori Department.