- add
RETURN_STATE add(string key, T data, int expires)
Undocumented in source. Be warned that the author may not have intended to support it.
- append
RETURN_STATE append(string key, T data)
Undocumented in source. Be warned that the author may not have intended to support it.
- cas
RETURN_STATE cas(string key, T data, int casId, int expires)
Undocumented in source. Be warned that the author may not have intended to support it.
- connect
void connect(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
- decrement
RETURN_STATE decrement(string key, int dec)
Undocumented in source. Be warned that the author may not have intended to support it.
- deserialize
T deserialize(string data)
convert data stored in memcached to the requested type
- disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
- get
T get(string key)
get back data from the memcached server,
return it as type T
- gets
T gets(string key, int casId)
get back data form the memcached server,
return it as type T,
- increment
RETURN_STATE increment(string key, int inc)
Undocumented in source. Be warned that the author may not have intended to support it.
- prepend
RETURN_STATE prepend(string key, T data)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
RETURN_STATE remove(string key, int time)
Undocumented in source. Be warned that the author may not have intended to support it.
- replace
RETURN_STATE replace(string key, T data, int expires)
Undocumented in source. Be warned that the author may not have intended to support it.
- serialize
string serialize(T data)
convert User data type to a string representation
- store
RETURN_STATE store(string key, T data, int expires)
store data with key, make it expire after expires secconds
if expires == 0 - data will not expire
- touch
RETURN_STATE touch(string key, int expires)
Undocumented in source. Be warned that the author may not have intended to support it.
Use this to connect and query a memcached server