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.
- Version:
- $Revision: 69058 $
- Author:
- Carlo de Wolf
passivate
void passivate(Object key)
- Force passivation of an object. The object must not be in use.
- Parameters:
key
- the identifier of the object
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.