|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.testsuite.general.TimerImpl
public class TimerImpl
Provides repited execution at a reqular time intervals.
| Field Summary | |
|---|---|
static int |
_DEFAULT_T_PRIORITY
|
| Constructor Summary | |
|---|---|
TimerImpl()
Creates new instance of the timer. |
|
| Method Summary | |
|---|---|
int |
getHeartBeat()
Gets value of interval between timer ticks. |
void |
setHeartBeat(int heartBeat)
Modify interval between timer tick |
java.util.concurrent.ScheduledFuture |
synchronize(java.lang.Runnable task)
Synchronizes task from this timer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int _DEFAULT_T_PRIORITY
| Constructor Detail |
|---|
public TimerImpl()
| Method Detail |
|---|
public int getHeartBeat()
getHeartBeat in interface Timerpublic void setHeartBeat(int heartBeat)
setHeartBeat in interface TimerheartBeat - the new value of interval in milliseconds.public java.util.concurrent.ScheduledFuture synchronize(java.lang.Runnable task)
synchronize in interface Timertask - the task to be synchronized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||