Click or drag to resize

Lifespan Structure

Represents the lifetime of an operation from creation to timeout.

Namespace:  Couchbase.Core
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public struct Lifespan

The Lifespan type exposes the following members.

Properties
  NameDescription
Public propertyCreationTime
Gets or sets the initial creation time of the operation.
Public propertyDuration
Gets or sets the duration of operations lifespan; the interval between creation and timeout.
Top
Methods
  NameDescription
Public methodTimedOut
Checks if the operation has exceeded it's duration; if it has it is flagged as timedout.
Top
See Also