package util
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class BufferManager(checkEvery: FiniteDuration = 10.seconds, triggerAfter: Int = 100, maxPerBatch: Int = 5000, checkFrequency: FiniteDuration = 1.second, sendEmpty: Boolean = false, logErrorAfter: Int = 3) extends Product with Serializable
- case class BufferQueue[T](manager: BufferManager, handler: (List[T]) => IO[Unit]) extends Product with Serializable
- case class Chained(delay: FiniteDuration = 100.millis) extends Product with Serializable
Provides a single-chain of tasks so only one IO can run at a time blocking the others until it completes.
Provides a single-chain of tasks so only one IO can run at a time blocking the others until it completes.
- delay
the time to sleep between checks to get a lock
- trait ObjectPool[T] extends AnyRef
- trait WorkCache[Key, Result] extends AnyRef
WorkCache effectively operates on a Key to guarantee that two jobs for the same Key are not concurrently processed and additional checks on the Key will wait for the same result.
WorkCache effectively operates on a Key to guarantee that two jobs for the same Key are not concurrently processed and additional checks on the Key will wait for the same result.
- Key
the key tied to the work
- Result
the result of the work
- sealed trait WorkResult[Result] extends AnyRef
Value Members
- object WorkResult