net.dpml.transit.model
Interface CacheListener

All Superinterfaces:
EventListener, Remote

public interface CacheListener
extends EventListener, Remote

A listener for events related to the Transit cache subsystem.

Version:
1.0.0
Author:
The Digital Product Meta Library

Method Summary
 void cacheDirectoryChanged(CacheDirectoryChangeEvent event)
          Notify the listener of a change to the cache directory.
 void hostAdded(CacheEvent event)
          Notify the listener of the addition of a new host.
 void hostRemoved(CacheEvent event)
          Notify the listener of the removal of a host.
 

Method Detail

cacheDirectoryChanged

public void cacheDirectoryChanged(CacheDirectoryChangeEvent event)
                           throws RemoteException
Notify the listener of a change to the cache directory.

Parameters:
event - the cache directory change event
Throws:
RemoteException - if a remote exception occurs

hostAdded

public void hostAdded(CacheEvent event)
               throws RemoteException
Notify the listener of the addition of a new host.

Parameters:
event - the host added event
Throws:
RemoteException - if a remote exception occurs

hostRemoved

public void hostRemoved(CacheEvent event)
                 throws RemoteException
Notify the listener of the removal of a host.

Parameters:
event - the host removed event
Throws:
RemoteException - if a remote exception occurs