|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.timers.TimerTaskData
public class TimerTaskData

The TimerTask data, which may be replicated in a cluster environment to support fail over.
| Constructor Summary | |
|---|---|
TimerTaskData(Serializable id,
long startTime,
long period,
PeriodicScheduleStrategy periodicScheduleStrategy)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
long |
getPeriod()
Retrieves the period of the associated timer task execution, -1 means it is not a periodic task. |
PeriodicScheduleStrategy |
getPeriodicScheduleStrategy()
Retrieves the strategy used in a periodic timer task, can be null if it is not a periodic timer task. |
long |
getStartTime()
Retrieves the starting time of the associated timer task execution. |
Serializable |
getTaskID()
Retrieves the id of the associated timer task. |
int |
hashCode()
|
void |
setStartTime(long startTime)
Sets the starting time of the associated timer task execution. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerTaskData(Serializable id,
long startTime,
long period,
PeriodicScheduleStrategy periodicScheduleStrategy)
id - startTime - period - | Method Detail |
|---|
public long getPeriod()
public long getStartTime()
public void setStartTime(long startTime)
startTime - public Serializable getTaskID()
public PeriodicScheduleStrategy getPeriodicScheduleStrategy()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||