\yrmcds

Classes

Client Memcached client class.
Error Exception for \yrmcds\Client.
Response Response from memcached / yrmcds server.
SessionHandler A session handler class based on \yrmcds\Client .
TimeoutException This exception will be thrown if \yrmcds\SessionHandler cannot acquire the session lock.

Constants

CMD_ADD

CMD_ADD

Binary command 'Add'.

CMD_ADDQ

CMD_ADDQ

Binary command 'AddQ'.

CMD_APPEND

CMD_APPEND

Binary command 'Append'.

CMD_APPENDQ

CMD_APPENDQ

Binary command 'AppendQ'.

CMD_DECREMENT

CMD_DECREMENT

Binary command 'Decrement'.

CMD_DECREMENTQ

CMD_DECREMENTQ

Binary command 'DecrementQ'.

CMD_DELETE

CMD_DELETE

Binary command 'Delete'.

CMD_DELETEQ

CMD_DELETEQ

Binary command 'DeleteQ'.

CMD_FLUSH

CMD_FLUSH

Binary command 'Flush'.

CMD_FLUSHQ

CMD_FLUSHQ

Binary command 'FlushQ'.

CMD_GAT

CMD_GAT

Binary command 'GaT' (get and touch).

CMD_GATK

CMD_GATK

Binary command 'GaTK' (get and touch with key).

CMD_GATKQ

CMD_GATKQ

Binary command 'GaTKQ' (get and touch with key quietly).

CMD_GATQ

CMD_GATQ

Binary command 'GaTQ' (get and touch quietly).

CMD_GET

CMD_GET

Binary command 'Get'.

CMD_GETK

CMD_GETK

Binary command 'GetK'.

CMD_GETKQ

CMD_GETKQ

Binary command 'GetKQ'.

CMD_GETQ

CMD_GETQ

Binary command 'GetQ'.

CMD_INCREMENT

CMD_INCREMENT

Binary command 'Increment'.

CMD_INCREMENTQ

CMD_INCREMENTQ

Binary command 'IncrementQ'.

CMD_KEYS

CMD_KEYS

Binary command 'Keys'.

CMD_LAG

CMD_LAG

Binary command 'LaG' (lock and get).

CMD_LAGK

CMD_LAGK

Binary command 'LaGK' (lock and get with key).

CMD_LAGKQ

CMD_LAGKQ

Binary command 'LaGKQ' (lock and get with key quietly).

CMD_LAGQ

CMD_LAGQ

Binary command 'LaGQ' (lock and get quietly).

CMD_LOCK

CMD_LOCK

Binary command 'Lock'.

CMD_LOCKQ

CMD_LOCKQ

Binary command 'LockQ'.

CMD_NOOP

CMD_NOOP

Binary command 'Noop'.

CMD_PREPEND

CMD_PREPEND

Binary command 'Prepend'.

CMD_PREPENDQ

CMD_PREPENDQ

Binary command 'PrependQ'.

CMD_QUIT

CMD_QUIT

Binary command 'Quit'.

CMD_QUITQ

CMD_QUITQ

Binary command 'QuitQ'.

CMD_RAU

CMD_RAU

Binary command 'RaU' (replace and unlock).

CMD_RAUQ

CMD_RAUQ

Binary command 'RaUQ' (replace and unlock quietly).

CMD_REPLACE

CMD_REPLACE

Binary command 'Replace'.

CMD_REPLACEQ

CMD_REPLACEQ

Binary command 'ReplaceQ'.

CMD_SET

CMD_SET

Binary command 'Set'.

CMD_SETQ

CMD_SETQ

Binary command 'SetQ'.

CMD_STAT

CMD_STAT

Binary command 'Stat'.

CMD_TOUCH

CMD_TOUCH

Binary command 'Touch'.

CMD_UNLOCK

CMD_UNLOCK

Binary command 'Unlock'.

CMD_UNLOCKALL

CMD_UNLOCKALL

Binary command 'UnlockAll'.

CMD_UNLOCKALLQ

CMD_UNLOCKALLQ

Binary command 'UnlockAllQ'.

CMD_UNLOCKQ

CMD_UNLOCKQ

Binary command 'UnlockQ'.

CMD_VERSION

CMD_VERSION

Binary command 'Version'.

STATUS_EXISTS

STATUS_EXISTS

Server response status indicating compare-and-swap failure.

STATUS_INVALID

STATUS_INVALID

Server response status indicating the request was invalid.

STATUS_LOCKED

STATUS_LOCKED

Server response status indicating the object is locked.

STATUS_NONNUMERIC

STATUS_NONNUMERIC

Server response status indicating the object is not numeric.

STATUS_NOTFOUND

STATUS_NOTFOUND

Server response status indicating the object is not found.

STATUS_NOTLOCKED

STATUS_NOTLOCKED

Server response status indicating the object is _not_ locked.

STATUS_NOTSTORED

STATUS_NOTSTORED

Server response status indicating the object is not created nor modified.

STATUS_OK

STATUS_OK

Server response status indicating the command was successfully executed.

STATUS_OUTOFMEMORY

STATUS_OUTOFMEMORY

Server response status indicating not enough memory.

STATUS_TOOLARGEVALUE

STATUS_TOOLARGEVALUE

Server response status indicating too large values.

STATUS_UNKNOWNCOMMAND

STATUS_UNKNOWNCOMMAND

Server response status indicating the command is not supported.