List of usage examples for android.database.sqlite SQLiteConnection collectDbStatsUnsafe
void collectDbStatsUnsafe(ArrayList<DbStats> dbStatsList)
From source file:io.requery.android.database.sqlite.SQLiteConnectionPool.java
/** * Collects statistics about database connection memory usage. * * @param dbStatsList The list to populate. *//*from w ww. j a v a 2 s . c o m*/ public void collectDbStats(ArrayList<SQLiteDebug.DbStats> dbStatsList) { synchronized (mLock) { if (mAvailablePrimaryConnection != null) { mAvailablePrimaryConnection.collectDbStats(dbStatsList); } for (SQLiteConnection connection : mAvailableNonPrimaryConnections) { connection.collectDbStats(dbStatsList); } for (SQLiteConnection connection : mAcquiredConnections.keySet()) { connection.collectDbStatsUnsafe(dbStatsList); } } }