org.apache.catalina.tribes.group

Class GroupChannel.HeartbeatThread

public static class GroupChannel.HeartbeatThread extends Thread

Title: Internal heartbeat thread

Description: if Channel.getHeartbeat()==true then a thread of this class is created

Version: 1.0

Field Summary
protected GroupChannelchannel
protected static intcounter
protected booleandoRun
protected static Loglog
protected longsleepTime
Constructor Summary
HeartbeatThread(GroupChannel channel, long sleepTime)
Method Summary
protected static intinc()
voidrun()
voidstopHeartbeat()

Field Detail

channel

protected GroupChannel channel

counter

protected static int counter

doRun

protected boolean doRun

log

protected static Log log

sleepTime

protected long sleepTime

Constructor Detail

HeartbeatThread

public HeartbeatThread(GroupChannel channel, long sleepTime)

Method Detail

inc

protected static int inc()

run

public void run()

stopHeartbeat

public void stopHeartbeat()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.