biz.hammurapi.cache
Class AbstractProducer

java.lang.Object
  extended by biz.hammurapi.cache.AbstractProducer
All Implemented Interfaces:
Producer
Direct Known Subclasses:
MemoryCache, PassiveMemoryCache, SimpleMemoryCache

public abstract class AbstractProducer
extends java.lang.Object
implements Producer

Implements remove event propagation to caches.

Version:
$Revision: 1.1 $
Author:
Pavel Vlasov

Constructor Summary
AbstractProducer()
           
 
Method Summary
 void addCache(Cache cache)
          Callback method for key removal.
protected  void onRemove(java.lang.Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface biz.hammurapi.cache.Producer
get, keySet
 

Constructor Detail

AbstractProducer

public AbstractProducer()
Method Detail

onRemove

protected void onRemove(java.lang.Object key)

addCache

public void addCache(Cache cache)
Description copied from interface: Producer
Callback method for key removal.

Specified by:
addCache in interface Producer


Copyright © 2003 Hammurapi Group. All Rights Reserved.