org.apache.jetspeed.cache.file
Interface FileCacheEventListener


public interface FileCacheEventListener

FileCacheEventListener on notifications sent when FileCache events occur

Version:
$Id: FileCacheEventListener.java 187364 2004-08-25 19:29:53Z weaver $
Author:
David S. Taylor David Sean Taylor

Method Summary
 void evict(FileCacheEntry entry)
          Evict event, called when the entry is being evicted out of the cache
 void refresh(FileCacheEntry entry)
          Refresh event, called when the entry is being refreshed from file system.
 

Method Detail

refresh

public void refresh(FileCacheEntry entry)
             throws Exception
Refresh event, called when the entry is being refreshed from file system.

Parameters:
entry - the entry being refreshed.
Throws:
Exception

evict

public void evict(FileCacheEntry entry)
           throws Exception
Evict event, called when the entry is being evicted out of the cache

Parameters:
entry - the entry being refreshed.
Throws:
Exception


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.