| org.jboss.ejb3.cache.StatefulCache
All known Subclasses: org.jboss.ejb3.cache.NoPassivationCache, org.jboss.ejb3.cache.simple.SimpleStatefulCache,
StatefulCache | public interface StatefulCache (Code) | | Stateful StatelessBean Bean cache
author: Bill Burke version: $Revision: 61329 $ |
get | public StatefulBeanContext get(Object key) throws EJBException(Code) | | Gets the context with the given id.
Same as getContext(key, true)
Parameters: key - the id the context throws: NoSuchEJBException - if no context with the given id exists orif the context exists but has been markedas removed throws: EJBException - |
get | public StatefulBeanContext get(Object key, boolean markInUse) throws EJBException(Code) | | Get the context with the given id, optionally marking the context as
being in use.
Parameters: key - the context's id Parameters: markInUse - if true , marks any returned context asbeing in use. If false , will return contexts that are marked as removed; otherwise will throw NoSuchEJBException if such a context is found the context throws: NoSuchEJBException - if no context with the given id exists orif the context exists but has been markedas removed and markInUse is true throws: EJBException - |
getAvailableCount | int getAvailableCount()(Code) | | |
getCacheSize | int getCacheSize()(Code) | | |
getCreateCount | int getCreateCount()(Code) | | |
getCurrentSize | int getCurrentSize()(Code) | | |
getMaxSize | int getMaxSize()(Code) | | |
getPassivatedCount | int getPassivatedCount()(Code) | | |
getRemoveCount | int getRemoveCount()(Code) | | |
getTotalSize | int getTotalSize()(Code) | | |
|
|