net.spy.cache
Interface CacheDelegate


public interface CacheDelegate

The cache delegate is notified of any objects going in or out of the cache.


Method Summary
 void cachedObject(java.lang.String key, Cachable value)
          Called whenever an object is added to the cache.
 void uncachedObject(java.lang.String key, Cachable value)
          Called whenever an object is removed from the cache.
 

Method Detail

cachedObject

void cachedObject(java.lang.String key,
                  Cachable value)
Called whenever an object is added to the cache.


uncachedObject

void uncachedObject(java.lang.String key,
                    Cachable value)
Called whenever an object is removed from the cache.



Copyright © 1995-2006 SPY Internetworking. All Rights Reserved.