net.sf.ehcache.distribution

Class MulticastKeepaliveHeartbeatSender

public final class MulticastKeepaliveHeartbeatSender extends Object

Sends heartbeats to a multicast group containing a compressed list of URLs. Supports up to approximately 500 configured caches.

Version: $Id: MulticastKeepaliveHeartbeatSender.java 211 2006-10-23 03:57:08Z gregluck $

Author: Greg Luck

Constructor Summary
MulticastKeepaliveHeartbeatSender(CacheManager cacheManager, InetAddress multicastAddress, Integer multicastPort)
Constructor
Method Summary
voiddispose()
Shutdown this heartbeat sender
voidinit()
Start the heartbeat thread

Constructor Detail

MulticastKeepaliveHeartbeatSender

public MulticastKeepaliveHeartbeatSender(CacheManager cacheManager, InetAddress multicastAddress, Integer multicastPort)
Constructor

Parameters: multicastAddress multicastPort

Method Detail

dispose

public final void dispose()
Shutdown this heartbeat sender

init

public final void init()
Start the heartbeat thread