@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public class InstrumentingIOPool<E extends IOPool.Entry<E>> extends Object implements IOPool<E>
| Modifier and Type | Class and Description |
|---|---|
class |
InstrumentingIOPool.InstrumentingEntry |
IOPool.Entry<E extends IOEntry<E>>Pool.Releasable<E extends Exception>| Modifier and Type | Field and Description |
|---|---|
protected IOPool<E> |
delegate |
protected InstrumentingDirector |
director |
| Constructor and Description |
|---|
InstrumentingIOPool(IOPool<E> pool,
InstrumentingDirector director) |
protected final IOPool<E extends IOPool.Entry<E>> delegate
protected final InstrumentingDirector director
public InstrumentingIOPool(IOPool<E> pool, InstrumentingDirector 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 © 2004-2011 Schlichtherle IT Services. All Rights Reserved.