public interface IPool
void checkin(Object object) throws Exception
object - The object to be added to the pool.ExceptionObject checkout(long timeout) throws Exception
This may be a reused object or a new one, up to the pool strategy and size.
timeout - The maximum time to wait for an instance to be available in
milliseconds. -1 will wait indefinitely, 0 will not wait.ExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.