|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.TaskDaemon.PeriodicTask
public class TaskDaemon.PeriodicTask
A PeriodicTask is a task that automatically reschedules itself so that it executes on a periodic basis.
| Constructor Summary | |
|---|---|
TaskDaemon.PeriodicTask(java.lang.Runnable task, long cMillisInterval)Construct a task that will automatically be run on a periodic basis. |
|
| Method Summary | |
|---|---|
void |
run()When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread. |
| Constructor Detail |
|---|
public TaskDaemon.PeriodicTask(java.lang.Runnable task,
long cMillisInterval)
task - the actual task to runcMillisInterval - the period of time, in milliseconds, to wait between runs of the task| Method Detail |
|---|
public void run()
java.lang.RunnableRunnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
The general contract of the method run is that it may take any action whatsoever.
run in interface java.lang.RunnableThread.run()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||