|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.engine.CacheAdaptor
Used for Cache-to-Cache messaging purposes.
Field Summary | |
private ICache |
cache
|
protected byte |
listenerId
Description of the Field |
private static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
CacheAdaptor(ICache cache)
Constructor for the CacheAdaptor object |
Method Summary | |
byte |
getListenerId()
Gets the listenerId attribute of the CacheAdaptor object |
void |
handleDispose(java.lang.String cacheName)
Description of the Method |
void |
handlePut(ICacheElement item)
Description of the Method |
void |
handleRemove(java.lang.String cacheName,
java.io.Serializable key)
Description of the Method |
void |
handleRemoveAll(java.lang.String cacheName)
Description of the Method |
void |
setListenerId(byte id)
Sets the listenerId attribute of the CacheAdaptor object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
private final ICache cache
protected byte listenerId
Constructor Detail |
public CacheAdaptor(ICache cache)
cache
- Method Detail |
public void setListenerId(byte id) throws java.io.IOException
setListenerId
in interface ICacheListener
id
- The new listenerId value
java.io.IOException
public byte getListenerId() throws java.io.IOException
getListenerId
in interface ICacheListener
java.io.IOException
public void handlePut(ICacheElement item) throws java.io.IOException
handlePut
in interface ICacheListener
java.io.IOException
public void handleRemove(java.lang.String cacheName, java.io.Serializable key) throws java.io.IOException
handleRemove
in interface ICacheListener
java.io.IOException
public void handleRemoveAll(java.lang.String cacheName) throws java.io.IOException
handleRemoveAll
in interface ICacheListener
java.io.IOException
public void handleDispose(java.lang.String cacheName) throws java.io.IOException
handleDispose
in interface ICacheListener
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |