Class SQLitePersistentBlobCache
The main purpose of this class is to ensure older packages upgrade without breaking. Existing installs of Akavache use a linker class referencing typeof(Akavache.Sqlite3.SQLitePersistentBlobCache) This ensures that static analysis won't link these DLLs out.
This library was added to provide a default bundle implementation using the bundle_e_sqlite3 bundle. Thus this class was moved here so it provides the hook for the linker and then registers and inits the sqlraw bundle.
public class SQLitePersistentBlobCache : SqlRawPersistentBlobCache, IEnableLogger, IObjectBulkBlobCache, IObjectBlobCache, IBulkBlobCache, IBlobCache, IDisposable
- Inheritance
-
SQLitePersistentBlobCache
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the SQLitePersistentBlobCache class.
Constructors
SQLitePersistentBlobCache(string, IScheduler?)
The main purpose of this class is to ensure older packages upgrade without breaking. Existing installs of Akavache use a linker class referencing typeof(Akavache.Sqlite3.SQLitePersistentBlobCache) This ensures that static analysis won't link these DLLs out.
This library was added to provide a default bundle implementation using the bundle_e_sqlite3 bundle. Thus this class was moved here so it provides the hook for the linker and then registers and inits the sqlraw bundle.
public SQLitePersistentBlobCache(string databaseFile, IScheduler? scheduler = null)
Parameters
databaseFile
stringThe location of the database file which to store the blobs in.
scheduler
ISchedulerScheduler to use for contained observables.
Remarks
Initializes a new instance of the SQLitePersistentBlobCache class.