|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.AbstractInstanceCache (src)
org.jboss.ejb.plugins.StatefulSessionInstanceCache (src)
org.jboss.ejb.plugins.StatefulHASessionInstanceCache
SFSB cache for clustered environment. Mainly avoid "excessive" locking that can generate cluster-distributed deadlocks.
StatefulSessionInstanceCache
(src) Field Summary |
Fields inherited from class org.jboss.ejb.plugins.AbstractInstanceCache (src) |
log |
Fields inherited from interface org.jboss.monitor.MetricsConstants (src) |
ACTIVITY, APPLICATION, BEAN, BEANCACHE_METRICS, CHECKPOINT, INVOCATION_METRICS, MEMORY_MONITOR, METHOD, PRIMARY_KEY, SYSTEM_METRICS, THREAD_MONITOR, TIME, TYPE |
Constructor Summary | |
StatefulHASessionInstanceCache()
|
Method Summary | |
EnterpriseContext (src) |
get(java.lang.Object id)
Gets a bean instance from this cache given the identity. |
void |
invalidateLocally(java.lang.Object id)
Remove an object from the local cache *without* any locking (synchronized, etc.) to avoid huge cluster-wide deadlock situations We have to unschedule passivation as well as the bean may be used on another node. |
Methods inherited from class org.jboss.ejb.plugins.StatefulSessionInstanceCache (src) |
acquireContext, activate, canPassivate, destroy, doActivate, freeContext, getContainer, getKey, getPassivatedCount, passivate, postRemovalCleanup, preRemovalPreparation, removePassivated, setContainer, setKey |
Methods inherited from class org.jboss.ejb.plugins.AbstractInstanceCache (src) |
create, flush, getCache, getCacheLock, getCachePolicyString, getCacheSize, importXml, insert, isActive, logActivation, logPassivation, release, remove, resetStatistic, retrieveStatistic, sample, start, stop, tryToPassivate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatefulHASessionInstanceCache()
Method Detail |
public void invalidateLocally(java.lang.Object id)
public EnterpriseContext (src) get(java.lang.Object id) throws java.rmi.RemoteException, java.rmi.NoSuchObjectException
InstanceCache (src)
Implementation should have O(1) complexity.
This method is never called for stateless session beans.
get
in interface InstanceCache (src)
get
in class AbstractInstanceCache (src)
java.rmi.RemoteException
java.rmi.NoSuchObjectException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |