protected class ExecutionComponentFeature.TimerWrapper extends java.lang.Object implements ITimer
Constructor and Description |
---|
TimerWrapper(ITimer timer)
Wrap a timer.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel the timer.
|
boolean |
equals(java.lang.Object obj) |
long |
getNotificationTime()
Get the next notification time.
|
ITimedObject |
getTimedObject()
Get the timed object associated with this timer.
|
int |
hashCode() |
void |
setNotificationTime(long time)
Change notification time.
|
java.lang.String |
toString() |
public TimerWrapper(ITimer timer)
public void cancel()
ITimer
public long getNotificationTime()
ITimer
getNotificationTime
in interface ITimer
public ITimedObject getTimedObject()
ITimer
getTimedObject
in interface ITimer
public void setNotificationTime(long time)
ITimer
setNotificationTime
in interface ITimer
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object