net.sf.ehcache.distribution

Interface CacheManagerPeerListener

public interface CacheManagerPeerListener

A listener for updates, which controls remote cache peers.

Version: $Id: CacheManagerPeerListener.java 52 2006-04-24 14:50:03Z gregluck $

Author: Greg Luck

Method Summary
voiddispose()
Stop the listener and free any resources.
ListgetBoundCachePeers()
All of the caches which are listenting for remote changes.
voidinit()
Call to start the listeners and do any other network initialisation.

Method Detail

dispose

public void dispose()
Stop the listener and free any resources.

Throws: CacheException

getBoundCachePeers

public List getBoundCachePeers()
All of the caches which are listenting for remote changes.

Returns: a list of CachePeer objects

init

public void init()
Call to start the listeners and do any other network initialisation.

Throws: CacheException