public class KeepAliveRunner extends KeepAlive
conn, keepAliveInterval, log
Modifier and Type | Method and Description |
---|---|
protected void |
doKeepAlive() |
int |
getMaxAliveCount() |
void |
setMaxAliveCount(int maxAliveCount) |
getKeepAliveInterval, getPositiveInterval, run, setKeepAliveInterval
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
public int getMaxAliveCount()
public void setMaxAliveCount(int maxAliveCount)
protected void doKeepAlive() throws TransportException, ConnectionException
doKeepAlive
in class KeepAlive
TransportException
ConnectionException