org.apache.catalina.tribes.group.interceptors
public class TcpPingInterceptor extends ChannelInterceptorBase
Version: 1.0
| Nested Class Summary | |
|---|---|
| protected class | TcpPingInterceptor.PingThread |
| Field Summary | |
|---|---|
| protected static AtomicInteger | cnt |
| protected long | interval |
| protected static Log | log |
| protected boolean | running |
| protected boolean | staticOnly |
| protected TcpPingInterceptor.PingThread | thread |
| protected static byte[] | TCP_PING_DATA |
| protected boolean | useThread |
| Method Summary | |
|---|---|
| long | getInterval() |
| boolean | getStaticOnly() |
| boolean | getUseThread() |
| void | heartbeat() |
| void | messageReceived(ChannelMessage msg) |
| protected void | sendPing() |
| protected void | sendPingMessage(Member[] members) |
| void | setInterval(long interval) |
| void | setStaticOnly(boolean staticOnly) |
| void | setUseThread(boolean useThread) |
| void | start(int svc) |
| void | stop(int svc) |