CouchbaseBucket Observe Method Couchbase .NET SDK 2.1.0 Documentation
Performs 'observe' on a given key to ensure that it's durability requirements with respect to persistence and replication are satisfied.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
public ObserveResponse Observe(
	string key,
	ulong cas,
	bool deletion,
	ReplicateTo replicateTo,
	PersistTo persistTo
)

Parameters

key
Type: System String
The key to 'observe'.
cas
Type: System UInt64
The 'Check and Set' or CAS value for the key.
deletion
Type: System Boolean
True if the operation performed is a 'remove' operation.
replicateTo
Type: Couchbase ReplicateTo
The durability requirement for replication.
persistTo
Type: Couchbase PersistTo
The durability requirement for persistence.

Return Value

Type: ObserveResponse
A ObserveResponse value indicating if the durability requirement were or were not met.

Implements

IBucket Observe(String, UInt64, Boolean, ReplicateTo, PersistTo)
See Also