use of com.google.firebase.firestore.local.LruGarbageCollector in project firebase-android-sdk by firebase.
the class SQLiteComponentProvider method createGarbageCollectionScheduler.
@Override
protected Scheduler createGarbageCollectionScheduler(Configuration configuration) {
LruDelegate lruDelegate = ((SQLitePersistence) getPersistence()).getReferenceDelegate();
LruGarbageCollector gc = lruDelegate.getGarbageCollector();
return gc.newScheduler(configuration.getAsyncQueue(), getLocalStore());
}
Aggregations