package platforms
Defines useful ExecutionPlatforms:
Type Members
-
class
ExecutionPool
extends WaitingExecutionQueue
An execution pool backed by a priority queue.
An execution pool backed by a priority queue. It limits the concurrent executions and the priority queue is ordered by the Ordering defined on the SchedulingContext.
-
class
RateLimiter
extends WaitingExecutionQueue
An rate limiter pool backed by a priority queue.
An rate limiter pool backed by a priority queue. It rate limits the executions and the priority queue is ordered by the Ordering defined on the SchedulingContext.
The implementation is based on the tokens bucket algorithm.
-
trait
WaitingExecutionQueue
extends AnyRef
A priority queue ordered by SchedulingContext priority.