Class: Groonga::Client::Response::Status
- Defined in:
- lib/groonga/client/response/status.rb
Instance Attribute Summary
Attributes inherited from Base
#body, #command, #header, #raw, #trace_logs
Instance Method Summary collapse
-
#alloc_count ⇒ Integer
(also: #n_allocations)
The number of allocated memory blocks.
Methods inherited from Base
#elapsed_time, #error_message, #initialize, parse, #return_code, #start_time, #status_code, #success?
Constructor Details
This class inherits a constructor from Groonga::Client::Response::Base
Instance Method Details
#alloc_count ⇒ Integer Also known as: n_allocations
Returns The number of allocated memory blocks.
29 30 31 |
# File 'lib/groonga/client/response/status.rb', line 29 def alloc_count @body["alloc_count"] || 0 end |