org.jboss.ejb.plugins
Class InvalidableEntityInstanceCache
java.lang.Object
   org.jboss.ejb.plugins.AbstractInstanceCache
org.jboss.ejb.plugins.AbstractInstanceCache
       org.jboss.ejb.plugins.EntityInstanceCache
org.jboss.ejb.plugins.EntityInstanceCache
           org.jboss.ejb.plugins.InvalidableEntityInstanceCache
org.jboss.ejb.plugins.InvalidableEntityInstanceCache
- All Implemented Interfaces: 
- AbstractInstanceCacheMBean, ContainerPlugin, EntityCache, EntityInstanceCacheMBean, InstanceCache, Invalidatable, MetricsConstants, Monitorable, org.jboss.system.Service, XmlLoadable
- public class InvalidableEntityInstanceCache- extends EntityInstanceCache- implements Invalidatable
Cache implementation that registers with an InvalidationManager when in
 commit option A or D. Information is found in the EB meta-data (IM name,
 IG name and commit-option)
- Version:
- $Revision: 1.2.2.3 $
- Author:
- Sacha Labourey.
- See Also:
- InvalidationManagerMBean,- EntityBeanCacheBatchInvalidatorInterceptor
 
 
| Fields inherited from interface org.jboss.monitor.MetricsConstants | 
| ACTIVITY, APPLICATION, BEAN, BEANCACHE_METRICS, CHECKPOINT, INVOCATION_METRICS, MEMORY_MONITOR, METHOD, PRIMARY_KEY, SYSTEM_METRICS, THREAD_MONITOR, TIME, TYPE | 
 
 
 
| Methods inherited from class org.jboss.ejb.plugins.EntityInstanceCache | 
| acquireContext, activate, canPassivate, createCacheKey, destroy, freeContext, get, getContainer, getKey, passivate, remove, setContainer, setKey | 
 
| Methods inherited from class org.jboss.ejb.plugins.AbstractInstanceCache | 
| create, doActivate, flush, getCache, getCacheLock, getCachePolicyString, getCacheSize, getPassivatedCount, importXml, insert, isActive, logActivation, logPassivation, release, remove, resetStatistic, retrieveStatistic, sample, tryToPassivate | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
| Methods inherited from interface org.jboss.system.Service | 
| create | 
 
 
invalMgr
protected InvalidationManagerMBean invalMgr
ig
protected InvalidationGroup ig
isTraceEnabled
protected boolean isTraceEnabled
InvalidableEntityInstanceCache
public InvalidableEntityInstanceCache()
areInvalid
public void areInvalid(Serializable[] keys)
- Description copied from interface: Invalidatable
- Indicates that the resources with the give keys should be invalidated (i.e.
 removed from cache)
 
- 
- Specified by:
- areInvalidin interface- Invalidatable
 
- 
- Parameters:
- keys- Keys of the resources to be invalidated
 
isInvalid
public void isInvalid(Serializable key)
- Description copied from interface: Invalidatable
- Indicates that the resource with the given key should be invalidated (i.e. removed
 from cache)
 
- 
- Specified by:
- isInvalidin interface- Invalidatable
 
- 
- Parameters:
- key- Key of the resource to be invalidated
 
invalidateAll
public void invalidateAll()
- Description copied from interface: Invalidatable
- All entries should be invalidated.
 
- 
- Specified by:
- invalidateAllin interface- Invalidatable
 
- 
 
start
public void start()
           throws Exception
- 
- Specified by:
- startin interface- org.jboss.system.Service
- Overrides:
- startin class- AbstractInstanceCache
 
- 
- Throws:
- Exception
 
stop
public void stop()
- 
- Specified by:
- stopin interface- org.jboss.system.Service
- Overrides:
- stopin class- AbstractInstanceCache
 
- 
 
doInvalidate
protected void doInvalidate(Serializable key)
- 
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.