Class: Superbolt::Runner::AckOne

Inherits:
Default show all
Defined in:
lib/superbolt/runner/ack_one.rb

Direct Known Subclasses

Pg

Instance Attribute Summary

Attributes inherited from Base

#block, #error_notifier, #logger, #queue

Instance Method Summary collapse

Methods inherited from Default

#processor_class, #run, #set_prefetch, #subscribe

Methods inherited from Base

#channel, #initialize, #on_error

Constructor Details

This class inherits a constructor from Superbolt::Runner::Base

Instance Method Details

#ackObject



4
5
6
# File 'lib/superbolt/runner/ack_one.rb', line 4

def ack
  true
end

#prefetchObject



8
9
10
# File 'lib/superbolt/runner/ack_one.rb', line 8

def prefetch
  1
end