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
Modifier and TypeFieldDescriptionprotected final GroupChannel
protected static int
protected boolean
protected final long
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
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