Package org.glassfish.grizzly
Class ThreadCache.ObjectCacheElement
- java.lang.Object
-
- org.glassfish.grizzly.ThreadCache.ObjectCacheElement
-
- Enclosing class:
- ThreadCache
public static final class ThreadCache.ObjectCacheElement extends Object
-
-
Constructor Summary
Constructors Constructor Description ObjectCacheElement(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get()
Get (peek) the object from cache.boolean
put(Object o)
Object
take()
Take (poll) the object from cache.
-