net.spy.cache
Class AbstractCacheListener

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.cache.AbstractCacheListener
All Implemented Interfaces:
CacheListener
Direct Known Subclasses:
AbstractCachable

public class AbstractCacheListener
extends SpyObject
implements CacheListener

Abstract implementation of CacheListener


Constructor Summary
AbstractCacheListener()
          Get an instance of AbstractCacheListener.
 
Method Summary
 void cachedEvent(java.lang.Object k)
          Receive notification of having been cached.
 void uncachedEvent(java.lang.Object k)
          Receive notification of having been uncached.
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCacheListener

public AbstractCacheListener()
Get an instance of AbstractCacheListener.

Method Detail

cachedEvent

public void cachedEvent(java.lang.Object k)
Receive notification of having been cached.

Specified by:
cachedEvent in interface CacheListener
Parameters:
k - the key with which the object was cached

uncachedEvent

public void uncachedEvent(java.lang.Object k)
Receive notification of having been uncached.

Specified by:
uncachedEvent in interface CacheListener
Parameters:
k - the key with which the object was cached


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