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:
- java.lang.Runnable
 - Enclosing class:
- GroupChannel
 
 public static class GroupChannel.HeartbeatThread extends java.lang.ThreadTitle: Internal heartbeat thread Description: if Channel.getHeartbeat()==truethen a thread of this class is created- Version:
- 1.0
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected GroupChannelchannelprotected static intcounterprotected booleandoRunprotected longsleepTime
 - 
Constructor SummaryConstructors Constructor Description HeartbeatThread(GroupChannel channel, long sleepTime)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static intinc()voidrun()voidstopHeartbeat()- 
Methods inherited from class java.lang.ThreadactiveCount, 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 Detail- 
counterprotected static int counter 
 - 
doRunprotected volatile boolean doRun 
 - 
channelprotected final GroupChannel channel 
 - 
sleepTimeprotected final long sleepTime 
 
- 
 - 
Constructor Detail- 
HeartbeatThreadpublic HeartbeatThread(GroupChannel channel, long sleepTime) 
 
- 
 
-