Class: Couchbase::Bucket::PingOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/bucket.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/bucket.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ PingOptions

Returns a new instance of PingOptions.

Yields:

  • (_self)

Yield Parameters:

[View source]

133
134
135
136
# File 'lib/couchbase/bucket.rb', line 133

def initialize
  @service_types = [:kv, :query, :analytics, :search, :views, :management]
  yield self if block_given?
end

Instance Attribute Details

#report_idString

Returns Holds custom report id.

Returns:

  • (String)

    Holds custom report id.


125
126
127
# File 'lib/couchbase/bucket.rb', line 125

def report_id
  @report_id
end

#service_typesArray<Symbol>

Returns The service types to limit this diagnostics request.

Returns:

  • (Array<Symbol>)

    The service types to limit this diagnostics request


128
129
130
# File 'lib/couchbase/bucket.rb', line 128

def service_types
  @service_types
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


131
132
133
# File 'lib/couchbase/bucket.rb', line 131

def timeout
  @timeout
end