RocksdbAdapter

Undocumented in source.

Constructors

this
this(CacheOptions.rocksdb config)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

check_is_expired
bool check_is_expired(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
create
void create(string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
generator_expired
ubyte[] generator_expired(uint expired)
Undocumented in source. Be warned that the author may not have intended to support it.
get
Nullable!V get(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getAll
Nullable!V[string] getAll(string[] key)
Undocumented in source. Be warned that the author may not have intended to support it.
get_expired
ulong get_expired(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
get_inter
Nullable!V get_inter(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
hasKey
bool hasKey(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(string[] keys)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(string key, V v, uint expired)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(V[string] maps, uint expired)
Undocumented in source. Be warned that the author may not have intended to support it.
setIfAbsent
bool setIfAbsent(string key, V v)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_dir
string _dir;
Undocumented in source.
_rocksdb
Database _rocksdb;
Undocumented in source.

Inherited Members

From Adapter

get
Nullable!V get(string key)
Undocumented in source.
get
Nullable!V[string] get(string[] keys)
Undocumented in source.
set
void set(string key, V value, uint expired)
Undocumented in source.
set
void set(V[string] maps, uint expired)
Undocumented in source.
setIfAbsent
bool setIfAbsent(string key, V value)
Undocumented in source.
hasKey
bool hasKey(string key)
Undocumented in source.
remove
bool remove(string key)
Undocumented in source.
remove
void remove(string[] keys)
Undocumented in source.
clear
void clear()
Undocumented in source.

Meta