|
Apache Tomcat 6.0.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.apache.catalina.tribes.group.GroupChannel.HeartbeatThread
public static class GroupChannel.HeartbeatThread
Title: Internal heartbeat thread
Description: if Channel.getHeartbeat()==true then a thread of this class
is created
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected GroupChannel |
channel
|
protected static int |
counter
|
protected boolean |
doRun
|
protected static Log |
log
|
protected long |
sleepTime
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
GroupChannel.HeartbeatThread(GroupChannel channel,
long sleepTime)
|
|
| Method Summary | |
|---|---|
protected static int |
inc()
|
void |
run()
|
void |
stopHeartbeat()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static Log log
protected static int counter
protected boolean doRun
protected GroupChannel channel
protected long sleepTime
| Constructor Detail |
|---|
public GroupChannel.HeartbeatThread(GroupChannel channel,
long sleepTime)
| Method Detail |
|---|
protected static int inc()
public void stopHeartbeat()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
Apache Tomcat 6.0.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||