Gambas Documentation - /comp/gb.memcached/memcached

# Memcached (gb.memcached)

This class is
Dim hMemcached As Memcached
creatable
.
This class acts like a
Returns a `_Memcached_Key` virtual object associated with sKey. This is the preferred method for data access.
read-only
array.

Constants

Indicates that the object was successfully deleted.
Deleted
Indicates that the item you are trying to store with a `cas` command has been modified since you last fetched it.
Exists
Indicates that an item with this key was not found.
NotFound
NotStored
Indicates that the object was successfully stored.
Stored
Indicates the the object's expiration time was updated.
Touched

Properties | Methods
--- | ---

Returns or sets the debugging mode.
Debug
Returns the error string returned by the last command that failed.
Error
Returns or sets the memcached server.
Host
Return or set the port used for connecting to the memcached server.
Port
Enables or disables the `Slabs Automove` feature.
SlabsAutomove
Returns the status of the Memcached connection.
Status
Returns the version of the memcached server.
Version

Disconnects from the server.
Close
Provides direct access to the server.
Exec
Expires every object in the memcached daemon.
Flush
Starts the connection to the memcached server.
Open
Function Retrieve ( sKey As Variant [ , iCas As Integer ] ) As Collection Used to retrieve a value from the server.
Retrieve