Packages

package util

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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
  2. case class BufferQueue[T](manager: BufferManager, handler: (List[T]) => IO[Unit]) extends Product with Serializable
  3. 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

  4. trait ObjectPool[T] extends AnyRef
  5. 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

  6. sealed trait WorkResult[Result] extends AnyRef

Value Members

  1. object WorkResult

Ungrouped