Class: Couchbase::Management::Options::Analytics::ReplaceLink
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Analytics::ReplaceLink
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb
Overview
Options for AnalyticsIndexManager#replace_link
Instance Attribute Summary
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ ReplaceLink
constructor
Creates an instance of options for AnalyticsIndexManager#replace_link.
- #to_backend ⇒ Object private
Constructor Details
#initialize(timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ ReplaceLink
Creates an instance of options for AnalyticsIndexManager#replace_link
428 429 430 431 432 433 434 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 428 def initialize(timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super yield self if block_given? end |
Instance Method Details
#to_backend ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
437 438 439 440 441 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 437 def to_backend { timeout: Utils::Time.extract_duration(@timeout), } end |