E - the type of the I/O buffers.D - the type of the instrumenting director.@Immutable public class InstrumentingIOPool<E extends IOPool.Entry<E>,D extends InstrumentingDirector<D>> extends Object implements IOPool<E>
| Modifier and Type | Class and Description |
|---|---|
class |
InstrumentingIOPool.Buffer |
IOPool.Entry<E extends IOEntry<E>>Pool.Releasable<X extends Exception>| Modifier and Type | Field and Description |
|---|---|
protected IOPool<E> |
delegate |
protected D |
director |
| Constructor and Description |
|---|
InstrumentingIOPool(IOPool<E> pool,
D director) |
protected final IOPool<E extends IOPool.Entry<E>> delegate
protected final D extends InstrumentingDirector<D> director
public IOPool.Entry<E> allocate() throws IOException
allocate in interface Pool<IOPool.Entry<E extends IOPool.Entry<E>>,IOException>IOExceptionpublic void release(IOPool.Entry<E> resource) throws IOException
release in interface Pool<IOPool.Entry<E extends IOPool.Entry<E>>,IOException>IOExceptionCopyright © 2005–2015 Schlichtherle IT Services. All rights reserved.