org.apache.jetspeed.cache.file
Interface FileCacheEventListener


public interface FileCacheEventListener

FileCacheEventListener on notifications sent when FileCache events occur

Version:
$Id: FileCacheEventListener.java 516448 2007-03-09 16:25:47Z ate $
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

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

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-2007 Apache Software Foundation. All Rights Reserved.