|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
org.objectweb.joram.client.jms.Session.SessionCloseTask
private class Session.SessionCloseTask
The SessionCloseTask
class is used by non-XA transacted
sessions for taking care of closing them if they tend to be pending,
and if a transaction timer has been set.
Field Summary | |
---|---|
private long |
txPendingTimer
|
Constructor Summary | |
---|---|
Session.SessionCloseTask(long txPendingTimer)
|
Method Summary | |
---|---|
void |
run()
Method called when the timer expires, actually closing the session. |
void |
start()
|
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private long txPendingTimer
Constructor Detail |
---|
Session.SessionCloseTask(long txPendingTimer)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
public void start()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |