Expand description
§An mixed(mem&disk) cache implementation
Re-exports§
Modules§
- mapx
- A disk-storage replacement for the pure in-memory BTreeMap
- mapxnk
- A disk-storage replacement for the pure in-memory BTreeMap
- vecx
- A disk-storage replacement for the pure in-memory Vec
Macros§
- new_
mapx - A helper for creating Mapx.
- new_
mapx_ custom - A helper for creating Mapx.
- new_
mapxnk - A helper for creating Mapxnk.
- new_
mapxnk_ custom - A helper for creating Mapxnk.
- new_
vecx - A helper for creating Vecx.
- new_
vecx_ custom - A helper for creating Vecx.
- try_
twice - Try once more when we fail to open a db.
- unique_
path - Generate a unique path for each instance.
Structs§
Constants§
- BNC_
META_ NAME - meta of each instance, Vecx/Mapx, etc.
Traits§
- NumKey
- numberic key
Functions§
- clear
- Delete all KVs
- flush_
data - Flush data to disk
- set_
data_ dir - Set ${BNC_DATA_DIR} manually