Class: Couchbase::CommonOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/common_options.rb

Instance Attribute Summary collapse

Instance Attribute Details

#client_contextHash

Returns the client context data, if set.

Returns:

  • (Hash)

    the client context data, if set



24
25
26
# File 'lib/couchbase/common_options.rb', line 24

def client_context
  @client_context
end

#parent_spanSpan

Returns If set holds the parent span, that should be used for this request.

Returns:

  • (Span)

    If set holds the parent span, that should be used for this request



27
28
29
# File 'lib/couchbase/common_options.rb', line 27

def parent_span
  @parent_span
end

#retry_strategyProc

Returns the custom retry strategy, if set.

Returns:

  • (Proc)

    the custom retry strategy, if set



21
22
23
# File 'lib/couchbase/common_options.rb', line 21

def retry_strategy
  @retry_strategy
end

#timeoutInteger

Returns the time in milliseconds allowed for the operation to complete.

Returns:

  • (Integer)

    the time in milliseconds allowed for the operation to complete



18
19
20
# File 'lib/couchbase/common_options.rb', line 18

def timeout
  @timeout
end