protected class JMSBridgeModule.ReconnectionDaemon extends Daemon
ReconnectionDaemon
thread is responsible for reconnecting
the bridge module with the foreign JMS server in case of disconnection.Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
ReconnectionDaemon()
Constructs a
ReconnectionDaemon thread. |
Modifier and Type | Method and Description |
---|---|
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.
|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
private long interval1
private long interval2
private long interval3
protected ReconnectionDaemon()
ReconnectionDaemon
thread.Copyright © 2020 ScalAgent D.T.. All rights reserved.