org.shiftone.cache.decorator.miss
Interface MissHandler

All Known Implementing Classes:
TestMissHandler

public interface MissHandler

Interface MissHandler.

Version:
$Revision: 1.3 $
Author:
Jeff Drost

Method Summary
 java.lang.Object fetchObject(java.lang.Object key)
          In the event of a cache miss, a user implemented instance of this class will be asked to do whatever processing is needed to obtain the cache element
 

Method Detail

fetchObject

public java.lang.Object fetchObject(java.lang.Object key)
                             throws java.lang.Exception
In the event of a cache miss, a user implemented instance of this class will be asked to do whatever processing is needed to obtain the cache element

Parameters:
key -
Returns:
the object that was fetched
Throws:
java.lang.Exception