public void dump(Printer printer,boolean verbose){
synchronized (mLock) {
    printer.println("Connection pool for " + mConfiguration.path + ":");
    printer.println("  Open: " + mIsOpen);
    printer.println("  Max connections: " + mMaxConnectionPoolSize);
    printer.println("  Available primary connection:");
    if (mAvailablePrimaryConnection != null) {
      mAvailablePrimaryConnection.dump(printer,verbose);
    }
 else {
      printer.println("<none>");
    }
    printer.println("  Available non-primary connections:");
    if (!mAvailableNonPrimaryConnections.isEmpty()) {
      for (      SQLiteConnection connection : mAvailableNonPrimaryConnections) {
        connection.dump(printer,verbose);
      }
    }
 else {
      printer.println("<none>");
    }
    printer.println("  Acquired connections:");
    if (!mAcquiredConnections.isEmpty()) {
      for (      Map.Entry<SQLiteConnection,AcquiredConnectionStatus> entry : mAcquiredConnections.entrySet()) {
        final SQLiteConnection connection=entry.getKey();
        connection.dumpUnsafe(printer,verbose);
        printer.println("  Status: " + entry.getValue());
      }
    }
 else {
      printer.println("<none>");
    }
    printer.println("  Connection waiters:");
    if (mConnectionWaiterQueue != null) {
      int i=0;
      final long now=SystemClock.uptimeMillis();
      for (ConnectionWaiter waiter=mConnectionWaiterQueue; waiter != null; waiter=waiter.mNext, i++) {
        printer.println(i + ": waited for " + ((now - waiter.mStartTime) * 0.001f)+ " ms - thread="+ waiter.mThread+ ", priority="+ waiter.mPriority+ ", sql='"+ waiter.mSql+ "'");
      }
    }
 else {
      printer.println("<none>");
    }
  }
}

public void dump ( Printer printer , boolean verbose ) { synchronized ( mLock ) { printer . println ( "Connection pool for " + mConfiguration . path + ":" ) ; printer . println ( "  Open: " + mIsOpen ) ; printer . println ( "  Max connections: " + mMaxConnectionPoolSize ) ; printer . println ( "  Available primary connection:" ) ; if ( mAvailablePrimaryConnection != null ) { mAvailablePrimaryConnection . dump ( printer , verbose ) ; } else { printer . println ( "<none>" ) ; } printer . println ( "  Available non-primary connections:" ) ; if ( ! mAvailableNonPrimaryConnections . isEmpty ( ) ) { for ( SQLiteConnection connection : mAvailableNonPrimaryConnections ) { connection . dump ( printer , verbose ) ; } } else { printer . println ( "<none>" ) ; } printer . println ( "  Acquired connections:" ) ; if ( ! mAcquiredConnections . isEmpty ( ) ) { for ( Map . Entry < SQLiteConnection , AcquiredConnectionStatus > entry : mAcquiredConnections . entrySet ( ) ) { final SQLiteConnection connection = entry . getKey ( ) ; connection . dumpUnsafe ( printer , verbose ) ; printer . println ( "  Status: " + entry . getValue ( ) ) ; } } else { printer . println ( "<none>" ) ; } printer . println ( "  Connection waiters:" ) ; if ( mConnectionWaiterQueue != null ) { int i = 0 ; final long now = SystemClock . uptimeMillis ( ) ; for ( ConnectionWaiter waiter = mConnectionWaiterQueue ; waiter != null ; waiter = waiter . mNext , i ++ ) { printer . println ( i + ": waited for " + ( ( now - waiter . mStartTime ) * 0.001f ) + " ms - thread=" + waiter . mThread + ", priority=" + waiter . mPriority + ", sql='" + waiter . mSql + "'" ) ; } } else { printer . println ( "<none>" ) ; } } }
dumps debugging information about this connection pool .
