|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.common.Daemon
org.objectweb.joram.mom.dest.jmsbridge.JMSBridgeModule.ReconnectionDaemon
protected class JMSBridgeModule.ReconnectionDaemon
The ReconnectionDaemon
thread is responsible for reconnecting
the bridge module with the foreign JMS server in case of disconnection.
Field Summary | |
---|---|
private long |
interval1
Retry interval (in milliseconds) of the first step. |
private long |
interval2
Retry interval (in milliseconds) of the second step. |
private long |
interval3
Retry interval (in milliseconds) of the third step. |
Fields inherited from class fr.dyade.aaa.common.Daemon |
---|
canStop, group, logmon, priority, running, thread |
Constructor Summary | |
---|---|
protected |
JMSBridgeModule.ReconnectionDaemon()
Constructs a ReconnectionDaemon thread. |
Method Summary | |
---|---|
void |
close()
Releases the daemon's resources. |
protected void |
reconnect()
Notifies the daemon to start reconnecting. |
void |
run()
The daemon's loop. |
void |
shutdown()
Shuts the daemon down. |
Methods inherited from class fr.dyade.aaa.common.Daemon |
---|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private long interval1
private long interval2
private long interval3
Constructor Detail |
---|
protected JMSBridgeModule.ReconnectionDaemon()
ReconnectionDaemon
thread.
Method Detail |
---|
protected void reconnect()
public void run()
public void shutdown()
shutdown
in class Daemon
public void close()
close
in class Daemon
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |