T- the route type that represents the opposite endpoint of a pooled connection.
E- the type of the pool entry containing a pooled connection.
public interface ConnPool<T,E>
ConnPoolrepresents a shared pool connections can be leased from and released back to.
|Modifier and Type||Method and Description|
Attempts to lease a connection for the given route and with the given state from the pool.
Releases the pool entry back to the pool.
route- route of the connection.
state- arbitrary object that represents a particular state (usually a security principal or a unique token identifying the user whose credentials have been used while establishing the connection). May be
callback- operation completion callback.
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses