| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private Timer | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doStart()
Overrides org. Method to override to start the lifecycle |
| protected void | doStop()
Overrides org. Method to override to stop the lifecycle |
| public void | |
| public Scheduler. | schedule(final Runnable task, final long delay, final TimeUnit units)
Implements org.
|
| _daemon | back to summary |
|---|---|
| private final boolean _daemon | |
| _name | back to summary |
|---|---|
| private final String _name | |
| _timer | back to summary |
|---|---|
| private Timer _timer | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| TimerScheduler | back to summary |
|---|---|
| public TimerScheduler() | |
| TimerScheduler | back to summary |
|---|---|
| public TimerScheduler(String name, boolean daemon) | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Method to override to start the lifecycle | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Method to override to stop the lifecycle | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| schedule | back to summary |
|---|---|
| public Scheduler. Implements org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | run()
Implements abstract java. Implements java. The action to be performed by this timer task. |
| public String |
| _task | back to summary |
|---|---|
| private final Runnable _task | |
| SimpleTask | back to summary |
|---|---|
| private SimpleTask(Runnable runnable) | |
| run | back to summary |
|---|---|
| public void run() Implements abstract java. Implements java. Doc from java. The action to be performed by this timer task.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |