|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.cache.impl.EntryStateCache<T>
public class EntryStateCache<T extends Identifiable>
Comment
| Constructor Summary | |
|---|---|
EntryStateCache(StatefulObjectFactory<T> factory)
|
|
| Method Summary | |
|---|---|
T |
create(java.lang.Class<?>[] initTypes,
java.lang.Object[] initValues)
Create a new object. |
T |
get(java.lang.Object key)
Get the specified object from cache. |
T |
peek(java.lang.Object key)
Peek at an object which might be in use. |
void |
release(T obj)
Release the object from use. |
void |
remove(java.lang.Object key)
Remove the specified object from cache. |
void |
start()
Start the cache. |
void |
stop()
Stop the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntryStateCache(StatefulObjectFactory<T> factory)
| Method Detail |
|---|
public T create(java.lang.Class<?>[] initTypes,
java.lang.Object[] initValues)
Cache
create in interface Cache<T extends Identifiable>
public T get(java.lang.Object key)
throws javax.ejb.NoSuchEJBException
Cache
get in interface Cache<T extends Identifiable>key - the identifier of the object
javax.ejb.NoSuchEJBException - if the object does not exist
public T peek(java.lang.Object key)
throws javax.ejb.NoSuchEJBException
Cache
peek in interface Cache<T extends Identifiable>key - the identifier of the object
javax.ejb.NoSuchEJBException - if the object does not existpublic void release(T obj)
Cache
release in interface Cache<T extends Identifiable>obj - the objectpublic void remove(java.lang.Object key)
Cache
remove in interface Cache<T extends Identifiable>key - the identifier of the objectpublic void start()
Cache
start in interface Cache<T extends Identifiable>public void stop()
Cache
stop in interface Cache<T extends Identifiable>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||