org.apache.commons.cache
Class BaseStorageListener
java.lang.Object
org.apache.commons.cache.BaseStorageListener
- All Implemented Interfaces:
- Serializable, StorageListener
- Direct Known Subclasses:
- GroupMapImpl
public class BaseStorageListener
- extends Object
- implements StorageListener
A base StorageListener
implementation,
defining all methods as no-ops.
- Version:
- $Id: BaseStorageListener.java 155435 2005-02-26 13:17:27Z dirkv $
- Author:
- Rodney Waldhoff
- See Also:
- Serialized Form
Method Summary |
void |
cleared()
|
void |
cleared(Serializable key)
|
void |
notStored(Serializable key,
Serializable val,
Long expiresAt,
Long cost,
Serializable group)
|
void |
stored(Serializable key,
Serializable val,
Long expiresAt,
Long cost,
Serializable group)
|
void |
storeRequested(Serializable key,
Serializable val,
Long expiresAt,
Long cost,
Serializable group)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseStorageListener
public BaseStorageListener()
storeRequested
public void storeRequested(Serializable key,
Serializable val,
Long expiresAt,
Long cost,
Serializable group)
- Specified by:
storeRequested
in interface StorageListener
stored
public void stored(Serializable key,
Serializable val,
Long expiresAt,
Long cost,
Serializable group)
- Specified by:
stored
in interface StorageListener
notStored
public void notStored(Serializable key,
Serializable val,
Long expiresAt,
Long cost,
Serializable group)
- Specified by:
notStored
in interface StorageListener
cleared
public void cleared(Serializable key)
- Specified by:
cleared
in interface StorageListener
cleared
public void cleared()
- Specified by:
cleared
in interface StorageListener
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.