Store

Undocumented in source.

Members

Functions

CreateDir
Event CreateDir(string nodePath)
Undocumented in source. Be warned that the author may not have intended to support it.
Delete
Event Delete(string nodePath, bool recursive)
Undocumented in source. Be warned that the author may not have intended to support it.
Deregister
Event Deregister(JSONValue server)
Undocumented in source. Be warned that the author may not have intended to support it.
Get
Event Get(string nodePath, bool recursive, bool sorted)
Undocumented in source. Be warned that the author may not have intended to support it.
Index
ulong Index()
Undocumented in source. Be warned that the author may not have intended to support it.
Init
void Init(ulong ID, Lessor l)
Undocumented in source. Be warned that the author may not have intended to support it.
Register
Event Register(JSONValue server)
Undocumented in source. Be warned that the author may not have intended to support it.
Set
Event Set(string nodePath, bool dir, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
Watch
Watcher Watch(string key, bool recursive, bool stream, ulong sinceIndex)
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.
generateLeaseID
long generateLeaseID()
Undocumented in source. Be warned that the author may not have intended to support it.
get
RangeResponse get(RpcRequest req)

rpc interface

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.
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.
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.

Static functions

instance
Store instance()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From StoreInter

Index
ulong Index()
Undocumented in source.
Get
Event Get(string nodePath, bool recursive, bool sorted)
Undocumented in source.
Set
Event Set(string nodePath, bool dir, string value)
Undocumented in source.
Delete
Event Delete(string nodePath, bool recursive)
Undocumented in source.
Watch
Watcher Watch(string prefix, bool recursive, bool stream, ulong sinceIndex)
Undocumented in source.

Meta