void dumpUnsafe(Printer printer,boolean verbose){
  printer.println("Connection #" + mConnectionId + ":");
  if (verbose) {
    printer.println("  connectionPtr: 0x" + Integer.toHexString(System.identityHashCode(mConnectionPtr)));
  }
  printer.println("  isPrimaryConnection: " + mIsPrimaryConnection);
  printer.println("  onlyAllowReadOnlyOperations: " + mOnlyAllowReadOnlyOperations);
  mRecentOperations.dump(printer,verbose);
  if (verbose) {
    mPreparedStatementCache.dump(printer);
  }
}

void dumpUnsafe ( Printer printer , boolean verbose ) { printer . println ( "Connection #" + mConnectionId + ":" ) ; if ( verbose ) { printer . println ( "  connectionPtr: 0x" + Integer . toHexString ( System . identityHashCode ( mConnectionPtr ) ) ) ; } printer . println ( "  isPrimaryConnection: " + mIsPrimaryConnection ) ; printer . println ( "  onlyAllowReadOnlyOperations: " + mOnlyAllowReadOnlyOperations ) ; mRecentOperations . dump ( printer , verbose ) ; if ( verbose ) { mPreparedStatementCache . dump ( printer ) ; } }
dumps debugging information about this connection , in the case where the caller might not actually own the connection . this function is written so that it may be called by a thread that does not own the connection . we need to be very careful because the connection state is not synchronized . at worst , the method may return stale or slightly wrong data , however it should not crash . this is ok as it is only used for diagnostic purposes .
