RocksdbStore

Gen Lease ID key : LEASE_GEN_ID_PREFIX value : { "ID" : 1234 }

Constructors

this
this(ulong ID, Lessor l)
Undocumented in source.

Members

Functions

CreateAndAppendSubdir
void CreateAndAppendSubdir(string parent, string child)
Undocumented in source. Be warned that the author may not have intended to support it.
Exsit
bool Exsit(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
Lookup
string Lookup(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
Remove
void Remove(string key, bool recursive)
Undocumented in source. Be warned that the author may not have intended to support it.
SetValue
void SetValue(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
attachToLease
bool attachToLease(string key, long leaseid)
Undocumented in source. Be warned that the author may not have intended to support it.
createDir
bool createDir(string path, string error)
Undocumented in source. Be warned that the author may not have intended to support it.
createDirWithRecur
void createDirWithRecur(string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteRange
DeleteRangeResponse deleteRange(RpcRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
detachFromLease
bool detachFromLease(string key, long leaseid)
Undocumented in source. Be warned that the author may not have intended to support it.
foreverKey
bool foreverKey(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
generateLeaseID
long generateLeaseID()
Undocumented in source. Be warned that the author may not have intended to support it.
getJsonValue
JSONValue getJsonValue(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getStringValue
string getStringValue(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
grantLease
Lease grantLease(long leaseid, long ttl)
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(Lessor lessor)
Undocumented in source. Be warned that the author may not have intended to support it.
isDir
bool isDir(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
leaseLeases
LeaseLeasesResponse leaseLeases()
Undocumented in source. Be warned that the author may not have intended to support it.
leaseTimeToLive
LeaseTimeToLiveResponse leaseTimeToLive(long leaseid)
Undocumented in source. Be warned that the author may not have intended to support it.
put
PutResponse put(RpcRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
removekeyFromParent
void removekeyFromParent(string skey)
Undocumented in source. Be warned that the author may not have intended to support it.
renewLease
LeaseKeepAliveResponse renewLease(RpcRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
revokeLease
bool revokeLease(long leaseid)
Undocumented in source. Be warned that the author may not have intended to support it.
set
bool set(string originKey, string value, string error, long leaseid)
Undocumented in source. Be warned that the author may not have intended to support it.
setFileKeyValue
void setFileKeyValue(string originKey, string value, long leaseid)
Undocumented in source. Be warned that the author may not have intended to support it.
setLeaseKeyValue
void setLeaseKeyValue(string key, string jsonValue)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta