|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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(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(Runnable task, long cMillisInterval)
task
- the actual task to runcMillisInterval
- the period of time, in milliseconds, to wait between runs of the taskMethod Detail |
---|
public void run()
java.lang.Runnable
Runnable
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 Runnable
Thread.run()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |