Represents an in-memory bucket for storing Key/Value pairs. Most often used as a distributed cache.

Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)

The MemcachedBucket type exposes the following members.

Name | Description | |
---|---|---|
![]() | AddRef |
Increments the reference counter for this IBucket instance.
|
![]() | Append(String,Byte[]) |
Appends a value to a give key.
|
![]() | Append(String, String) |
Appends a value to a give key.
|
![]() | CreateManager | |
![]() | CreateQuery(Boolean) | |
![]() | CreateQuery(String, String) | |
![]() | CreateQuery(String, String, Boolean) | |
![]() | Decrement(String) |
Decrements the value of a key by one. If the key doesn't exist, it will be created
and seeded with 1.
|
![]() | Decrement(String, UInt64) |
Decrements the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Decrement(String, UInt64, UInt64) |
Decrements the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Decrement(String, UInt64, UInt64, TimeSpan) |
Decrements the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Decrement(String, UInt64, UInt64, UInt32) |
Decrements the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Dispose |
Closes this MemcachedBucket instance, shutting down and releasing all resources,
removing it from it's ClusterController instance.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Get<T>(IList<String>) |
Gets a range of values for a given set of keys
|
![]() | Get<T>(String) |
Gets a value for a given key from a Memcached Bucket on a Couchbase Server.
|
![]() | Get<T>(IList<String>, ParallelOptions) |
Gets a range of values for a given set of keys
|
![]() | Get<T>(IList<String>, ParallelOptions, Int32) |
Gets a range of values for a given set of keys
|
![]() | GetAsync<T> | |
![]() | GetDocument<T> |
Gets a document by it's given id.
|
![]() | GetFromReplica<T> | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetWithLock<T>(String, TimeSpan) | |
![]() | GetWithLock<T>(String, UInt32) | |
![]() | Increment(String) |
Increments the value of a key by one. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Increment(String, UInt64) |
Increments the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Increment(String, UInt64, UInt64) |
Increments the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Increment(String, UInt64, UInt64, TimeSpan) |
Increments the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Increment(String, UInt64, UInt64, UInt32) |
Increments the value of a key by the delta. If the key doesn't exist, it will be created
and seeded with the defaut initial value 1.
|
![]() | Insert<T>(IDocument<T>) |
Inserts a JSON document into the IBucketfailing if it exists.
|
![]() | Insert<T>(String, T) |
Inserts a document into the database for a given key, failing if it exists.
|
![]() | Insert<T>(IDocument<T>, ReplicateTo) | |
![]() | Insert<T>(String, T, ReplicateTo) | |
![]() | Insert<T>(String, T, TimeSpan) |
Inserts a document into the database for a given key, failing if it exists.
|
![]() | Insert<T>(String, T, UInt32) |
Inserts a document into the database for a given key, failing if it exists.
|
![]() | Insert<T>(IDocument<T>, ReplicateTo, PersistTo) | |
![]() | Insert<T>(String, T, ReplicateTo, PersistTo) | |
![]() | Insert<T>(String, T, TimeSpan, ReplicateTo, PersistTo) | |
![]() | Insert<T>(String, T, UInt32, ReplicateTo, PersistTo) | |
![]() | InsertAsync<T> | |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Observe | |
![]() | Prepend(String,Byte[]) |
Prepends a value to a give key.
|
![]() | Prepend(String, String) |
Prepends a value to a give key.
|
![]() | Query<T>(String) | |
![]() | Query<T>(IQueryRequest) | |
![]() | Query<T>(IViewQuery) | |
![]() | QueryAsync<T>(String) | |
![]() | QueryAsync<T>(IQueryRequest) | |
![]() | QueryAsync<T>(IViewQuery) | |
![]() | Release |
Decrements the reference counter and calls Dispose() if the count is zero.
|
![]() | Remove(IList<String>) |
Removes a range of documents for a given set of keys
|
![]() | Remove(String) |
For a given key, removes a document from the database.
|
![]() | Remove(IList<String>, ParallelOptions) |
Removes a range of documents for a given set of keys
|
![]() | Remove(String, ReplicateTo) | |
![]() | Remove(String, UInt64) |
Removes a document for a given key from the database.
|
![]() | Remove(IList<String>, ParallelOptions, Int32) |
Removes a range of documents for a given set of keys
|
![]() | Remove(String, ReplicateTo, PersistTo) | |
![]() | Remove(String, UInt64, ReplicateTo) | |
![]() | Remove(String, UInt64, ReplicateTo, PersistTo) | |
![]() | Remove<T>(IDocument<T>) |
Removes a document from the database.
|
![]() | Remove<T>(IDocument<T>, ReplicateTo) | |
![]() | Remove<T>(IDocument<T>, ReplicateTo, PersistTo) | |
![]() | Replace<T>(IDocument<T>) |
Replaces a document if it exists, otherwise fails.
|
![]() | Replace<T>(String, T) |
Replaces a value for a key if it exists, otherwise fails.
|
![]() | Replace<T>(IDocument<T>, ReplicateTo) | |
![]() | Replace<T>(String, T, ReplicateTo) | |
![]() | Replace<T>(String, T, TimeSpan) |
Replaces a document for a given key if it exists, otherwise fails.
|
![]() | Replace<T>(String, T, UInt32) |
Replaces a document for a given key if it exists, otherwise fails.
|
![]() | Replace<T>(String, T, UInt64) |
Replaces a document for a given key if it exists, otherwise fails.
|
![]() | Replace<T>(IDocument<T>, ReplicateTo, PersistTo) | |
![]() | Replace<T>(String, T, ReplicateTo, PersistTo) | |
![]() | Replace<T>(String, T, UInt64, ReplicateTo) | |
![]() | Replace<T>(String, T, UInt64, TimeSpan) | |
![]() | Replace<T>(String, T, UInt64, UInt32) | |
![]() | Replace<T>(String, T, UInt64, ReplicateTo, PersistTo) | |
![]() | Replace<T>(String, T, UInt64, TimeSpan, ReplicateTo, PersistTo) | |
![]() | Replace<T>(String, T, UInt64, UInt32, ReplicateTo, PersistTo) | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Unlock | |
![]() | Upsert<T>(IDictionary<String, T>) |
Inserts or replaces a range of items into Couchbase Server.
|
![]() | Upsert<T>(IDocument<T>) |
Inserts or replaces an existing JSON document into IBucket on a Couchbase Server.
|
![]() | Upsert<T>(IDictionary<String, T>, ParallelOptions) |
Inserts or replaces a range of items into Couchbase Server.
|
![]() | Upsert<T>(String, T) |
Inserts or replaces an existing document into a Memcached Bucket on a Couchbase Server.
|
![]() | Upsert<T>(IDocument<T>, ReplicateTo) | |
![]() | Upsert<T>(IDictionary<String, T>, ParallelOptions, Int32) |
Inserts or replaces a range of items into Couchbase Server.
|
![]() | Upsert<T>(String, T, ReplicateTo) | |
![]() | Upsert<T>(String, T, TimeSpan) |
Inserts or replaces an existing document into Couchbase Server.
|
![]() | Upsert<T>(String, T, UInt32) |
Inserts or replaces an existing document into Couchbase Server.
|
![]() | Upsert<T>(String, T, UInt64) |
Inserts or replaces an existing document into Couchbase Server.
|
![]() | Upsert<T>(IDocument<T>, ReplicateTo, PersistTo) | |
![]() | Upsert<T>(String, T, ReplicateTo, PersistTo) | |
![]() | Upsert<T>(String, T, UInt64, TimeSpan) |
Inserts or replaces an existing document into Couchbase Server.
|
![]() | Upsert<T>(String, T, UInt64, UInt32) |
Inserts or replaces an existing document into Couchbase Server.
|
![]() | Upsert<T>(String, T, TimeSpan, ReplicateTo, PersistTo) | |
![]() | Upsert<T>(String, T, UInt32, ReplicateTo, PersistTo) | |
![]() | Upsert<T>(String, T, UInt64, TimeSpan, ReplicateTo, PersistTo) | |
![]() | Upsert<T>(String, T, UInt64, UInt32, ReplicateTo, PersistTo) |

Name | Description | |
---|---|---|
![]() | BucketType |
Returns type of the bucket. In this implementation the value is constant: Memcached.
|
![]() | IsSecure |
Returns true if bucket is using SSL encryption between the client and the server.
|
![]() | Name |
The Bucket's name. You can view this from the Couchbase Management Console.
|
