Class JmsManager.Reconnector
java.lang.Object
java.lang.Thread
org.apache.logging.log4j.core.util.Log4jThread
org.apache.logging.log4j.core.appender.mom.JmsManager.Reconnector
- All Implemented Interfaces:
Runnable
- Enclosing class:
- JmsManager
Handles reconnecting to JMS on a Thread.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CountDownLatch
private final Object
private boolean
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
latch
-
shutdown
private volatile boolean shutdown -
owner
-
-
Constructor Details
-
Reconnector
-
-
Method Details
-
latch
public void latch() -
reconnect
- Throws:
NamingException
javax.jms.JMSException
-
run
public void run() -
shutdown
public void shutdown()
-