|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface StatefulCache
Stateful StatelessBean Bean cache
Method Summary | |
---|---|
StatefulBeanContext |
create(Class<?>[] initTypes,
Object[] initValues)
Deprecated. |
StatefulBeanContext |
get(Object key)
Deprecated. Gets the context with the given id. |
StatefulBeanContext |
get(Object key,
boolean markInUse)
Deprecated. Get the context with the given id, optionally marking the context as being in use. |
int |
getAvailableCount()
Deprecated. |
int |
getCacheSize()
Deprecated. |
int |
getCreateCount()
Deprecated. |
int |
getCurrentSize()
Deprecated. |
int |
getMaxSize()
Deprecated. |
int |
getPassivatedCount()
Deprecated. |
int |
getRemoveCount()
Deprecated. |
int |
getTotalSize()
Deprecated. |
void |
initialize(EJBContainer container)
Deprecated. |
boolean |
isStarted()
Deprecated. |
Methods inherited from interface org.jboss.ejb3.cache.Cache |
---|
peek, release, remove, start, stop |
Method Detail |
---|
StatefulBeanContext create(Class<?>[] initTypes, Object[] initValues)
create
in interface org.jboss.ejb3.cache.Cache<StatefulBeanContext>
StatefulBeanContext get(Object key) throws javax.ejb.EJBException
getContext(key, true)
get
in interface org.jboss.ejb3.cache.Cache<StatefulBeanContext>
key
- the id
javax.ejb.NoSuchEJBException
- if no context with the given id exists or
if the context exists but has been marked
as removed
javax.ejb.EJBException
StatefulBeanContext get(Object key, boolean markInUse) throws javax.ejb.EJBException
key
- the context's idmarkInUse
- if true
, marks any returned context as
being in use. If false
, will return
contexts that are marked as removed; otherwise will
throw NoSuchEJBException if such a context is found
javax.ejb.NoSuchEJBException
- if no context with the given id exists or
if the context exists but has been marked
as removed and markInUse
is
true
javax.ejb.EJBException
int getAvailableCount()
int getCacheSize()
int getCreateCount()
int getCurrentSize()
int getMaxSize()
int getPassivatedCount()
int getRemoveCount()
int getTotalSize()
void initialize(EJBContainer container) throws Exception
Exception
boolean isStarted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |