Connection pooling multithreading java. Any connection pooling framework needs to do three tasks.