|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.scheduling.OddjobTimerService
public class OddjobTimerService
A TimerService that doesn't allow it Executor to be shut down. Not used at the moment.
| Constructor Summary | |
|---|---|
OddjobTimerService()
|
|
| Method Summary | |
|---|---|
String |
getName()
Get the name. |
ExecutorService |
getPoolExecutor()
Provide a ExecutorService. |
int |
getPoolSize()
|
ScheduledExecutorService |
getScheduledExecutor()
Provide a ScheduledExecutorService. |
Date |
getTimeNow()
|
void |
setName(String name)
Set the name |
void |
setPoolSize(int poolSize)
|
void |
start()
Start the shcheduler. |
void |
stop()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OddjobTimerService()
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name.public ExecutorService getPoolExecutor()
OddjobExecutorsExecutorService. Implementations are free to
use OddjobExecutors.getScheduledExecutor() for this, or provide
something different.
getPoolExecutor in interface OddjobExecutorspublic ScheduledExecutorService getScheduledExecutor()
OddjobExecutorsScheduledExecutorService.
getScheduledExecutor in interface OddjobExecutorspublic void start()
SchedulerExceptionpublic void stop()
public Date getTimeNow()
public int getPoolSize()
public void setPoolSize(int poolSize)
public String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||