|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.AbstractInstanceCache
org.jboss.ejb.plugins.StatefulSessionInstanceCache
org.jboss.ejb.plugins.StatefulHASessionInstanceCache
public class StatefulHASessionInstanceCache
SFSB cache for clustered environment. Mainly avoid "excessive" locking that can generate cluster-distributed deadlocks.
Revisions:
19 decembre 2002 Sacha Labourey:
StatefulSessionInstanceCache
Field Summary |
---|
Fields inherited from class org.jboss.ejb.plugins.AbstractInstanceCache |
---|
log |
Fields inherited from interface org.jboss.ejb.AllowedOperationsFlags |
---|
IN_AFTER_BEGIN, IN_AFTER_COMPLETION, IN_BEFORE_COMPLETION, IN_BUSINESS_METHOD, IN_EJB_ACTIVATE, IN_EJB_CREATE, IN_EJB_FIND, IN_EJB_HOME, IN_EJB_LOAD, IN_EJB_PASSIVATE, IN_EJB_POST_CREATE, IN_EJB_REMOVE, IN_EJB_STORE, IN_EJB_TIMEOUT, IN_INTERCEPTOR_METHOD, IN_SERVICE_ENDPOINT_METHOD, IN_SET_ENTITY_CONTEXT, IN_SET_MESSAGE_DRIVEN_CONTEXT, IN_SET_SESSION_CONTEXT, IN_UNSET_ENTITY_CONTEXT, NOT_ALLOWED |
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 |
Constructor Summary | |
---|---|
StatefulHASessionInstanceCache()
|
Method Summary | |
---|---|
org.jboss.ejb.EnterpriseContext |
get(Object id)
|
void |
invalidateLocally(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 |
---|
acquireContext, activate, canPassivate, destroy, doActivate, freeContext, getContainer, getKey, getPassivatedCount, passivate, postRemovalCleanup, preRemovalPreparation, removePassivated, setContainer, setKey |
Methods inherited from class org.jboss.ejb.plugins.AbstractInstanceCache |
---|
create, flush, getCache, getCacheLock, getCachePolicyString, getCacheSize, importXml, insert, isActive, logActivation, logPassivation, release, remove, resetStatistic, retrieveStatistic, sample, start, stop, tryToPassivate, tryToPassivate, unableToPassivateDueToCtxLock |
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(Object id)
public org.jboss.ejb.EnterpriseContext get(Object id) throws RemoteException, NoSuchObjectException
get
in interface org.jboss.ejb.InstanceCache
get
in class org.jboss.ejb.plugins.AbstractInstanceCache
RemoteException
NoSuchObjectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |