Class: Couchbase::Management::Options::Analytics::DisconnectLink

Inherits:
Options::Base
  • Object
show all
Defined in:
lib/couchbase/management/analytics_index_manager.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from Options::Base

#client_context, #parent_span, #retry_strategy, #timeout

Instance Method Summary collapse

Constructor Details

#initialize(link_name: "Local", dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ DisconnectLink

Creates an instance of options for AnalyticsIndexManager#disconnect_link

Parameters:

  • link_name (String) (defaults to: "Local")

    the name of the link

  • dataverse_name (String) (defaults to: nil)

    the name of the dataverse to use (defaults to nil)

  • timeout (Integer, #in_milliseconds, nil) (defaults to: nil)

    the time in milliseconds allowed for the operation to complete

  • retry_strategy (Proc, nil) (defaults to: nil)

    the custom retry strategy, if set

  • client_context (Hash, nil) (defaults to: nil)

    the client context data, if set

  • parent_span (Span, nil) (defaults to: nil)

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

Yield Parameters:



351
352
353
354
355
356
357
358
359
360
361
# File 'lib/couchbase/management/analytics_index_manager.rb', line 351

def initialize(link_name: "Local",
               dataverse_name: nil,
               timeout: nil,
               retry_strategy: nil,
               client_context: nil,
               parent_span: nil)
  super(timeout: timeout, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span)
  @link_name = link_name
  @dataverse_name = dataverse_name
  yield self if block_given?
end

Instance Attribute Details

#dataverse_nameString

Returns:

  • (String)


338
339
340
# File 'lib/couchbase/management/analytics_index_manager.rb', line 338

def dataverse_name
  @dataverse_name
end

Returns:

  • (String)


337
338
339
# File 'lib/couchbase/management/analytics_index_manager.rb', line 337

def link_name
  @link_name
end