Class: Couchbase::Management::Options::Query::WatchIndexes
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Query::WatchIndexes
- Defined in:
- lib/couchbase/management/query_index_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/query_index_manager.rb more...
Overview
Options for QueryIndexManager#watch_indexes
Instance Attribute Summary collapse
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(watch_primary: false, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ WatchIndexes
constructor
Creates an instance of options for QueryIndexManager#watch_indexes.
Constructor Details
#initialize(watch_primary: false, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ WatchIndexes
Creates an instance of options for QueryIndexManager#watch_indexes
270 271 272 273 274 275 276 277 |
# File 'lib/couchbase/management/query_index_manager.rb', line 270 def initialize(watch_primary: false, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: nil, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @watch_primary = watch_primary yield self if block_given? end |
Instance Attribute Details
#watch_primary ⇒ Boolean
260 261 262 |
# File 'lib/couchbase/management/query_index_manager.rb', line 260 def watch_primary @watch_primary end |