Class: Couchbase::Cluster::AnalyticsMetrics
- Inherits:
-
Object
- Object
- Couchbase::Cluster::AnalyticsMetrics
- Defined in:
- lib/couchbase/analytics_options.rb
Instance Attribute Summary collapse
-
#elapsed_time ⇒ Integer
Duration in milliseconds.
- #error_count ⇒ Integer
-
#execution_time ⇒ Integer
Duration in milliseconds.
- #processed_objects ⇒ Integer
- #result_count ⇒ Integer
- #result_size ⇒ Integer
- #warning_count ⇒ Integer
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ AnalyticsMetrics
constructor
A new instance of AnalyticsMetrics.
Constructor Details
#initialize {|self| ... } ⇒ AnalyticsMetrics
Returns a new instance of AnalyticsMetrics.
59 60 61 |
# File 'lib/couchbase/analytics_options.rb', line 59 def initialize yield self if block_given? end |
Instance Attribute Details
#elapsed_time ⇒ Integer
Returns duration in milliseconds.
38 39 40 |
# File 'lib/couchbase/analytics_options.rb', line 38 def elapsed_time @elapsed_time end |
#error_count ⇒ Integer
50 51 52 |
# File 'lib/couchbase/analytics_options.rb', line 50 def error_count @error_count end |
#execution_time ⇒ Integer
Returns duration in milliseconds.
41 42 43 |
# File 'lib/couchbase/analytics_options.rb', line 41 def execution_time @execution_time end |
#processed_objects ⇒ Integer
53 54 55 |
# File 'lib/couchbase/analytics_options.rb', line 53 def processed_objects @processed_objects end |
#result_count ⇒ Integer
44 45 46 |
# File 'lib/couchbase/analytics_options.rb', line 44 def result_count @result_count end |
#result_size ⇒ Integer
47 48 49 |
# File 'lib/couchbase/analytics_options.rb', line 47 def result_size @result_size end |
#warning_count ⇒ Integer
56 57 58 |
# File 'lib/couchbase/analytics_options.rb', line 56 def warning_count @warning_count end |