public int getConnectionsActive(SocketDestination destination) {
        if(destination == null) {
            return pool.getTotalResourceCount();
        } else {
            return pool.getTotalResourceCount(destination);
        }
    }
public int getConnectionsActive ( SocketDestination destination ) { if ( destination == null ) { return pool . getTotalResourceCount ( ) ; } else { return pool . getTotalResourceCount ( destination ) ; } }
Getters for (queued)pool stats