Sha256: e257d5a2124cdc1ba218dda1220b5809f333b6fbab33640cf29209fbf12c099f

Contents?: true

Size: 1.03 KB

Versions: 22

Compression:

Stored size: 1.03 KB

Contents

#    Copyright 2020 Couchbase, Inc.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

module Couchbase
  class CommonOptions
    # @return [Integer] the time in milliseconds allowed for the operation to complete
    attr_accessor :timeout

    # @return [Proc] the custom retry strategy, if set
    attr_accessor :retry_strategy

    # @return [Hash] the client context data, if set
    attr_accessor :client_context

    # @return [Span] If set holds the parent span, that should be used for this request
    attr_accessor :parent_span
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
couchbase-3.0.0.beta.1-universal-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.beta.1 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.5-x86_64-linux lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.5-universal-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.5-x86_64-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.5 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.4-x86_64-linux lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.4-x86_64-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.4-universal-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.4 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.3-x86_64-linux lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.3-x86_64-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.3-universal-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.3 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.2-x86_64-linux lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.2-x86_64-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.2-universal-darwin-19 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.2 lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.1-x86_64-linux lib/couchbase/common_options.rb
couchbase-3.0.0.alpha.1-x86_64-darwin-19 lib/couchbase/common_options.rb