Пример #1
0
        public SqliteOperationQueue(SQLiteConnection conn, IScheduler scheduler)
        {
            this.scheduler = scheduler;

            bulkSelectKey      = new BulkSelectSqliteOperation(conn, false, scheduler);
            bulkSelectType     = new BulkSelectByTypeSqliteOperation(conn, scheduler);
            bulkInsertKey      = new BulkInsertSqliteOperation(conn);
            bulkInvalidateKey  = new BulkInvalidateSqliteOperation(conn, false);
            bulkInvalidateType = new BulkInvalidateByTypeSqliteOperation(conn);
            invalidateAll      = new InvalidateAllSqliteOperation(conn);
            vacuum             = new VacuumSqliteOperation(conn, scheduler);
            getAllKeys         = new GetKeysSqliteOperation(conn, scheduler);
            begin  = new BeginTransactionSqliteOperation(conn);
            commit = new CommitTransactionSqliteOperation(conn);
        }