org.smallmind.quorum.pool.connection
Class ConnectionPinManager<C>
java.lang.Object
org.smallmind.quorum.pool.connection.ConnectionPinManager<C>
public class ConnectionPinManager<C>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionPinManager
public ConnectionPinManager(ConnectionPool<C> connectionPool)
startup
public void startup()
throws ConnectionPoolException
- Throws:
ConnectionPoolException
serve
public ConnectionPin<C> serve()
throws ConnectionPoolException
- Throws:
ConnectionPoolException
remove
public void remove(ConnectionPin<C> connectionPin,
boolean withPrejudice)
process
public void process(ConnectionInstance<C> connectionInstance)
terminate
public void terminate(ConnectionInstance<C> connectionInstance)
shutdown
public void shutdown()
throws ConnectionPoolException
- Throws:
ConnectionPoolException
getPoolSize
public int getPoolSize()
getFreeSize
public int getFreeSize()
getProcessingSize
public int getProcessingSize()
getExistentialStackTraces
public StackTrace[] getExistentialStackTraces()
Copyright © 2012. All Rights Reserved.