Atlassian interview question

During live coding session write a connection pool from scratch