Client Methods

MySQL Connector/Net

Client Methods

The Client type exposes the following members.

Methods
  Name Description
Public method Add
Adds a new key/value pair with the given TimeSpan expiration.
Public method Append
Appens the data to the existing data for the associated key.
Public method Cas
Executes the Check-and-set Memcached operation.
Public method Close
Closes the client connection.
Public method Decrement
Decrements the value associated with a key by the given amount.
Public method Delete
Removes they pair key/value given the specified key.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method FlushAll
Removes all entries from the storage, effectively invalidating the whole cache.
Public method Get
Get the key/value pair associated with a given key.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method Static member GetInstance
Factory method for creating instances of Client that implement a connection with the requested features. The connection object returned must be explicitely opened see method Open.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Increment
Increments the value associated with a key by the given amount.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Open
Opens the client connection.
Public method Prepend
Prepends the data to the existing data for the associated key.
Public method Replace
Replaces the value associated with the given key with another value.
Public method Set
Set the value of a given key.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also