|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.distribution.MulticastKeepaliveHeartbeatSender
public final class MulticastKeepaliveHeartbeatSender
Sends heartbeats to a multicast group containing a compressed list of URLs. Supports up to approximately 500 configured caches.
| Constructor Summary | |
|---|---|
MulticastKeepaliveHeartbeatSender(CacheManager cacheManager,
java.net.InetAddress multicastAddress,
java.lang.Integer multicastPort)
Constructor |
|
| Method Summary | |
|---|---|
void |
dispose()
Shutdown this heartbeat sender |
static long |
getHeartBeatInterval()
Returns the heartbeat interval. |
void |
init()
Start the heartbeat thread |
(package private) static void |
setHeartBeatInterval(long heartBeatInterval)
Sets the heartbeat interval to something other than the default of 5000ms. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MulticastKeepaliveHeartbeatSender(CacheManager cacheManager,
java.net.InetAddress multicastAddress,
java.lang.Integer multicastPort)
multicastAddress - multicastPort - | Method Detail |
|---|
public final void init()
public final void dispose()
static void setHeartBeatInterval(long heartBeatInterval)
heartBeatInterval - a time in ms, greater than 1000public static long getHeartBeatInterval()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||