public abstract class SpecificCacheBase<E> extends java.lang.Object implements ObjectCache<E>
| Modifier | Constructor and Description |
|---|---|
protected |
SpecificCacheBase(ObjectCache<E> cache) |
| Modifier and Type | Method and Description |
|---|---|
E |
acquire()
Acquire an object from the object-cache.
|
CacheStats |
getCacheStats() |
void |
release(E e)
Release an object to the object-cache.
|
protected SpecificCacheBase(ObjectCache<E> cache)
public final E acquire()
ObjectCacheacquire in interface ObjectCache<E>public final void release(E e)
ObjectCacherelease in interface ObjectCache<E>e - The object to be released.public final CacheStats getCacheStats()
getCacheStats in interface ObjectCache<E>Copyright © 2012. All Rights Reserved.