Class: Contender::Pool::RejectionPolicy
- Inherits:
-
Object
- Object
- Contender::Pool::RejectionPolicy
- Defined in:
- lib/contender/pool/rejection_policy.rb
Overview
Represents the strategy to use when the pool executor rejects a task
Direct Known Subclasses
AbortPolicy, DiscardOldestPolicy, DiscardPolicy, ExecutionByCallerPolicy
Instance Method Summary collapse
Instance Method Details
#on_rejection(task, executor) ⇒ undefined
This method is abstract.
9 10 11 |
# File 'lib/contender/pool/rejection_policy.rb', line 9 def on_rejection(task, executor) raise NotImplementedError end |