Public Member Functions | |
JTimer (JTimerService timerservice, long initial, long period, Serializable info) | |
long | getStartTime () |
long | getInitial () |
long | getPeriod () |
JTimerService | getTimerService () |
void | startTimer () |
void | stopTimer () |
boolean | equals (Object obj) |
int | hashCode () |
void | timeoutExpired (Object arg) |
void | cancel () throws IllegalStateException, NoSuchObjectLocalException, EJBException |
long | getTimeRemaining () throws IllegalStateException, NoSuchObjectLocalException, EJBException |
Date | getNextTimeout () throws IllegalStateException, NoSuchObjectLocalException, EJBException |
Serializable | getInfo () throws IllegalStateException, NoSuchObjectLocalException, EJBException |
TimerHandle | getHandle () throws IllegalStateException, NoSuchObjectLocalException, EJBException |
void | afterCompletion (int status) |
Definition at line 54 of file JTimer.java.
|
constructor Definition at line 129 of file JTimer.java. |
|
The afterCompletion method is called by the transaction manager after the transaction is committed or rolled back. This method executes without a transaction context.
Definition at line 427 of file JTimer.java. |
|
Cause the timer and all its associated expiration notifications to be cancelled.
Definition at line 299 of file JTimer.java. References org.objectweb.jonas_ejb.container.JTimerService.getTransactionManager(). |
Here is the call graph for this function:
|
Indicates whether some other object is "equal to" this one.
Definition at line 222 of file JTimer.java. References org.objectweb.jonas_ejb.container.JTimer.getInitial(), org.objectweb.jonas_ejb.container.JTimer.getPeriod(), and org.objectweb.jonas_ejb.container.JTimer.getTimerService(). Referenced by org.objectweb.jonas_ejb.container.JTimerService.getTimer(). |
Here is the call graph for this function:
|
Get a serializable handle to the timer. This handle can be used at a later time to re-obtain the timer reference.
Definition at line 404 of file JTimer.java. References org.objectweb.jonas_ejb.container.JTimerService.getContainer(), org.objectweb.jonas_ejb.container.JTimerService.getEjbName(), and org.objectweb.jonas_ejb.container.JTimerService.getPK(). |
Here is the call graph for this function:
|
Get the information associated with the timer at the time of creation.
Definition at line 384 of file JTimer.java. |
|
Definition at line 149 of file JTimer.java. Referenced by org.objectweb.jonas_ejb.container.JTimer.equals(). |
|
Get the point in time at which the next timer expiration is scheduled to occur.
Definition at line 364 of file JTimer.java. |
|
Definition at line 156 of file JTimer.java. Referenced by org.objectweb.jonas_ejb.container.JTimer.equals(), and org.objectweb.jonas_ejb.container.JTimer.hashCode(). |
|
Definition at line 142 of file JTimer.java. |
|
Get the number of milliseconds that will elapse before the next scheduled timer expiration.
Definition at line 343 of file JTimer.java. |
|
Definition at line 163 of file JTimer.java. Referenced by org.objectweb.jonas_ejb.container.JTimer.equals(). |
|
Returns a hash code value for the object.
Definition at line 249 of file JTimer.java. References org.objectweb.jonas_ejb.container.JTimer.getPeriod(). |
Here is the call graph for this function:
|
start the Timer Definition at line 170 of file JTimer.java. References org.objectweb.jonas_timer.TimerManager.addTimerMs(), and org.objectweb.jonas_ejb.container.JTimerService.getTransactionManager(). Referenced by org.objectweb.jonas_ejb.container.JTimerService.createTimer(). |
Here is the call graph for this function:
|
Stop a timer. Used internally. Definition at line 199 of file JTimer.java. Referenced by org.objectweb.jonas_ejb.container.JTimerService.cancelAllTimers(). |
|
The timer has just expired. Definition at line 260 of file JTimer.java. References org.objectweb.jonas_timer.TimerManager.addTimerMs(), org.objectweb.jonas_ejb.container.JTimerService.notify(), and org.objectweb.jonas_ejb.container.JTimerService.remove(). |
Here is the call graph for this function: