public static class GroupChannel.HeartbeatThread extends Thread
Title: Internal heartbeat thread
Description: if Channel.getHeartbeat()==true
then a thread of this class
is created
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected GroupChannel |
channel |
protected static int |
counter |
protected boolean |
doRun |
protected long |
sleepTime |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
GroupChannel.HeartbeatThread(GroupChannel channel,
long sleepTime) |
Modifier and Type | Method and Description |
---|---|
protected static int |
inc() |
void |
run() |
void |
stopHeartbeat() |
activeCount, checkAccess, clone, 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
protected static int counter
protected volatile boolean doRun
protected final GroupChannel channel
protected final long sleepTime
public GroupChannel.HeartbeatThread(GroupChannel channel, long sleepTime)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.