Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.threadpool |
Modifier and Type | Method and Description |
---|---|
static <E> ThreadCache.CachedTypeIndex<E> |
ThreadCache.obtainIndex(Class<E> clazz,
int size) |
static <E> ThreadCache.CachedTypeIndex<E> |
ThreadCache.obtainIndex(String name,
Class<E> clazz,
int size) |
Modifier and Type | Method and Description |
---|---|
<E> E |
ThreadCache.ObjectCache.get(ThreadCache.CachedTypeIndex<E> index)
Get the cached object with the given type index from cache.
|
static <E> E |
ThreadCache.getFromCache(ThreadCache.CachedTypeIndex<E> index)
Get the cached object with the given type index from cache.
|
boolean |
ThreadCache.ObjectCache.put(ThreadCache.CachedTypeIndex index,
Object o) |
static <E> boolean |
ThreadCache.putToCache(ThreadCache.CachedTypeIndex<E> index,
E o) |
<E> E |
ThreadCache.ObjectCache.take(ThreadCache.CachedTypeIndex<E> index)
Take the cached object with the given type index from cache.
|
static <E> E |
ThreadCache.takeFromCache(ThreadCache.CachedTypeIndex<E> index)
Take the cached object with the given type index from cache.
|
Modifier and Type | Method and Description |
---|---|
<E> E |
DefaultWorkerThread.getFromCache(ThreadCache.CachedTypeIndex<E> index)
Get the cached object with the given type index from cache.
|
<E> boolean |
DefaultWorkerThread.putToCache(ThreadCache.CachedTypeIndex<E> index,
E o) |
<E> E |
DefaultWorkerThread.takeFromCache(ThreadCache.CachedTypeIndex<E> index)
Take the cached object with the given type index from cache.
|
Copyright © 2014 Oracle Corporation. All rights reserved.