java.lang.Runnablepublic 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 | Description |
|---|---|---|
protected GroupChannel |
channel |
|
protected static int |
counter |
|
protected boolean |
doRun |
|
protected long |
sleepTime |
| Constructor | Description |
|---|---|
HeartbeatThread(GroupChannel channel,
long sleepTime) |
| Modifier and Type | Method | Description |
|---|---|---|
protected static int |
inc() |
|
void |
run() |
|
void |
stopHeartbeat() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected static int counter
protected volatile boolean doRun
protected final GroupChannel channel
protected final long sleepTime
public HeartbeatThread(GroupChannel channel, long sleepTime)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.