TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.util
Interface Pool.Releasable<E extends Exception>

All Known Subinterfaces:
IOPool.Entry<E>
All Known Implementing Classes:
ByteArrayIOPool.Entry
Enclosing interface:
Pool<R,E extends Exception>

public static interface Pool.Releasable<E extends Exception>

This interface is designed to be used with Pools which enable their resources to release itself.


Method Summary
 void release()
          Releases this resource to its pool.
 

Method Detail

release

void release()
             throws E extends Exception
Releases this resource to its pool. Implementations may throw an IllegalStateException upon the conditions explained below.

Throws:
IllegalStateException - if this resource has already been released to its pool and the implementation doesn't tolerate this.
E extends Exception

TrueZIP Kernel 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.