|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.ThreadCache.ObjectCache
public static final class ThreadCache.ObjectCache
| Constructor Summary | |
|---|---|
ThreadCache.ObjectCache()
|
|
| Method Summary | ||
|---|---|---|
|
get(ThreadCache.CachedTypeIndex<E> index)
Get the cached object with the given type index from cache. |
|
boolean |
put(ThreadCache.CachedTypeIndex index,
java.lang.Object o)
|
|
|
take(ThreadCache.CachedTypeIndex<E> index)
Take the cached object with the given type index from cache. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadCache.ObjectCache()
| Method Detail |
|---|
public boolean put(ThreadCache.CachedTypeIndex index,
java.lang.Object o)
public <E> E get(ThreadCache.CachedTypeIndex<E> index)
take(org.glassfish.grizzly.ThreadCache.CachedTypeIndex), the
object won't be removed from cache.
E - index - the cached object type index.
public <E> E take(ThreadCache.CachedTypeIndex<E> index)
get(org.glassfish.grizzly.ThreadCache.CachedTypeIndex), the
object will be removed from cache.
E - index - the cached object type index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||