Enum KeyState
In an Observe operation, indicates whether the key is persisted or not.
Namespace: Couchbase.Core.IO.Operations
Assembly: Couchbase.NetClient.dll
Syntax
public enum KeyState : byte
Fields
| Name | Description |
|---|---|
| FoundNotPersisted | Found, not persisted. Indicates key is in RAM, but not persisted to disk |
| FoundPersisted | Found, persisted. Indicates key is found in RAM, and is persisted to disk |
| LogicalDeleted | Logically deleted. Indicates an item is in RAM, but is not yet deleted from disk. |
| NotFound | Not found. Indicates the key is persisted, but not found in RAM. In this case, a key is not available in any view/index. Couchbase Server will return this keystate for any item that is not stored in the server. It indicates you will not expect to have the item in a view/index. |