public synchronized int totalSize(){
  if (destroyed)   return 0;
  return connections.size();
}

public synchronized int totalSize ( ) { if ( destroyed ) return 0 ; return connections . size ( ) ; }
the total amount of pooled connections in any state .
