edma_storage 0.0.2

EDMA: Embedded Database Management for All
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate rocksdb;

use rocksdb::OptimisticTransactionDB;

use crate::DBTransaction;

/// OptimisticTransactionDB
/// Using OptimisticTransactionDB type instead of default DB type
/// This is for multithreaded concurrency control used in distributed system
pub type DBType = OptimisticTransactionDB;
pub type TxType = rocksdb::Transaction<'static, DBType>;
pub type RocksDBTransaction = DBTransaction<DBType, TxType>;