public static final class ThreadCache.ObjectCacheElement extends Object
Constructor and Description |
---|
ObjectCacheElement(int size) |
Modifier and Type | Method and Description |
---|---|
Object |
get()
Get (peek) the object from cache.
|
boolean |
put(Object o) |
Object |
take()
Take (poll) the object from cache.
|
Copyright © 2015 Oracle Corporation. All rights reserved.