Package org.objectweb.joram.mom.dest.jms
Class JMSModule.ReconnectionDaemon
- java.lang.Object
-
- fr.dyade.aaa.common.Daemon
-
- org.objectweb.joram.mom.dest.jms.JMSModule.ReconnectionDaemon
-
-
Field Summary
Fields Modifier and Type Field Description private intattempts1Number of reconnection trials of the first step.private intattempts2Number of reconnection trials of the second step.private longinterval1Retry interval (in milliseconds) of the first step.private longinterval2Retry interval (in milliseconds) of the second step.private longinterval3Retry interval (in milliseconds) of the third step.
-
Constructor Summary
Constructors Modifier Constructor Description protectedReconnectionDaemon()Constructs aReconnectionDaemonthread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Releases the daemon's resources.voidrun()The daemon's loop.voidshutdown()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
-
-
-
-
Field Detail
-
attempts1
private int attempts1
Number of reconnection trials of the first step.
-
interval1
private long interval1
Retry interval (in milliseconds) of the first step.
-
attempts2
private int attempts2
Number of reconnection trials of the second step.
-
interval2
private long interval2
Retry interval (in milliseconds) of the second step.
-
interval3
private long interval3
Retry interval (in milliseconds) of the third step.
-
-