org.jboss.ejb3.cache
Interface PassivatingCache<T extends Identifiable>
- All Superinterfaces:
- Cache<T>
- All Known Subinterfaces:
- GroupedPassivatingCache<T>
- All Known Implementing Classes:
- GroupedPassivatingCacheImpl, SimplePassivatingCache
public interface PassivatingCache<T extends Identifiable>
- extends Cache<T>
A cache which passivates unused objects.
A PassivatingCache is linked to an ObjectStore to store the
passivated object and a PassivationManager to managed lifecycle
callbacks on the object.
|
Method Summary |
void |
passivate(java.lang.Object key)
Force passivation of an object. |
passivate
void passivate(java.lang.Object key)
- Force passivation of an object. The object must not be in use.
- Parameters:
key - the identifier of the object