Class: Statsd::Batch
- Extended by:
- Forwardable
- Defined in:
- lib/statsd.rb
Instance Attribute Summary collapse
-
#batch_size ⇒ Object
Returns the value of attribute batch_size.
-
#pool_size ⇒ Object
Returns the value of attribute pool_size.
Attributes inherited from Base
#counter, #host, #namespace, #port
Instance Method Summary collapse
-
#initialize(statsd, batch_size) ⇒ Batch
constructor
A new instance of Batch.
Methods inherited from Base
#count, #decrement, #gauge, #increment, #send_to_socket, #time, #timing
Constructor Details
Instance Attribute Details
#batch_size ⇒ Object
Returns the value of attribute batch_size.
97 98 99 |
# File 'lib/statsd.rb', line 97 def batch_size @batch_size end |
#pool_size ⇒ Object
Returns the value of attribute pool_size.
97 98 99 |
# File 'lib/statsd.rb', line 97 def pool_size @pool_size end |