Package org.apache.catalina.tribes.group
Class GroupChannel.HeartbeatThread
java.lang.Object
java.lang.Thread
org.apache.catalina.tribes.group.GroupChannel.HeartbeatThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
- GroupChannel
If
Channel.getHeartbeat()==true then a thread of this class
is created.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GroupChannelprotected static intprotected booleanprotected final longFields 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
-
counter
protected static int counter -
doRun
protected volatile boolean doRun -
channel
-
sleepTime
protected final long sleepTime
-
-
Constructor Details
-
HeartbeatThread
-
-
Method Details