class Contender::Pool::RejectionPolicy
Represents the strategy to use when the pool executor rejects a task
Public Instance Methods
on_rejection(task, executor)
click to toggle source
@abstract @param [Object] task @param [PoolExecutor] executor @return [undefined]
# File lib/contender/pool/rejection_policy.rb, line 9 def on_rejection(task, executor) raise NotImplementedError end