ehcache

net.sf.ehcache.distribution
Interface CacheManagerPeerListener

All Known Implementing Classes:
RMICacheManagerPeerListener

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
 void dispose()
          Stop the listener and free any resources.
 java.util.List getBoundCachePeers()
          All of the caches which are listenting for remote changes.
 void init()
          Call to start the listeners and do any other network initialisation.
 

Method Detail

init

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

Throws:
CacheException

dispose

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

Throws:
CacheException

getBoundCachePeers

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

Returns:
a list of CachePeer objects

ehcache

true