public abstract class ThreadLocalBufferCache<T> extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| private ThreadLocal<T> | buffers | 
| private int | defaultSize | 
| Constructor and Description | 
|---|
| ThreadLocalBufferCache(int defaultSize) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | getCache() | 
| protected abstract T | newValue(int defaultSize) | 
| void | release(T buffer) | 
private final ThreadLocal<T> buffers
private final int defaultSize
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.