class Store::KVStore
- Store::KVStore
- Reference
- Object
Defined in:
store/kv_store.crConstructors
Instance Method Summary
- #close
- #db : RocksDB::DB
- #db=(db : RocksDB::DB)
- #delete(key : Bytes)
- #flush
- #get?(key : Bytes)
- #iterate_over_prefix(prefix : Bytes, &)
- #last_flushed : Atomic(Int64)
- #last_flushed=(last_flushed : Atomic(Int64))
- #last_used : Atomic(Int64)
- #last_used=(last_used : Atomic(Int64))
- #lock : RWLock
- #lock=(lock : RWLock)
- #opened : Bool
- #opened=(opened : Bool)
- #path : String
- #path=(path : String)
- #put(key : Bytes, data : Bytes)
- #write(batch : RocksDB::WriteBatch)
Constructor Detail
def self.new(db : RocksDB::DB, last_used : Atomic(Int64), last_flushed : Atomic(Int64), path : String)
#