|
|||||||||||
| 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 | |
protected long |
listenerId
Description of the Field |
| Constructor Summary | |
CacheAdaptor(ICache cache)
Constructor for the CacheAdaptor object |
|
| Method Summary | |
long |
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(long 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 |
protected long listenerId
| Constructor Detail |
public CacheAdaptor(ICache cache)
cache - | Method Detail |
public void setListenerId(long id)
throws java.io.IOException
setListenerId in interface ICacheListenerid - The new listenerId value
java.io.IOException
public long getListenerId()
throws java.io.IOException
getListenerId in interface ICacheListenerjava.io.IOException
public void handlePut(ICacheElement item)
throws java.io.IOException
handlePut in interface ICacheListenerjava.io.IOException
public void handleRemove(java.lang.String cacheName,
java.io.Serializable key)
throws java.io.IOException
handleRemove in interface ICacheListenerjava.io.IOException
public void handleRemoveAll(java.lang.String cacheName)
throws java.io.IOException
handleRemoveAll in interface ICacheListenerjava.io.IOException
public void handleDispose(java.lang.String cacheName)
throws java.io.IOException
handleDispose in interface ICacheListenerjava.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||