public static class GroupChannel.HeartbeatThread
extends java.lang.Thread
Title: Internal heartbeat thread
Description: if Channel.getHeartbeat()==true
then a thread of this class
is created
Modifier and Type | Field and Description |
---|---|
protected GroupChannel |
channel |
protected static int |
counter |
protected boolean |
doRun |
protected long |
sleepTime |
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-2018 Apache Software Foundation. All Rights Reserved.