de.schlichtherle.truezip.socket
Class IOCache.InputBufferPool
java.lang.Object
de.schlichtherle.truezip.socket.IOCache.InputBufferPool
- All Implemented Interfaces:
- Pool<IOCache.Buffer,IOException>
- Enclosing class:
- IOCache
private final class IOCache.InputBufferPool
- extends Object
- implements Pool<IOCache.Buffer,IOException>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IOCache.InputBufferPool
private IOCache.InputBufferPool()
allocate
public IOCache.Buffer allocate()
throws IOException
- Description copied from interface:
Pool
- Allocates a resource from this pool.
- Specified by:
allocate in interface Pool<IOCache.Buffer,IOException>
- Returns:
- A resource.
- Throws:
IOException
release
public void release(IOCache.Buffer buffer)
throws IOException
- Description copied from interface:
Pool
- Releases a previously allocated resource to this pool.
Implementations may throw an
IllegalArgumentException or an
IllegalStateException upon the conditions explained below.
- Specified by:
release in interface Pool<IOCache.Buffer,IOException>
- Parameters:
buffer - a resource.
- Throws:
IOException
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.