spice.util

package spice.util

Members list

Concise view

Type members

Classlikes

case class Chained(delay: FiniteDuration)

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.

Attributes

delay

the time to sleep between checks to get a lock

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait ObjectPool[T]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait WorkCache[Key, 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.

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.

Attributes

Key

the key tied to the work

Result

the result of the work

Graph
Supertypes
class Object
trait Matchable
class Any
sealed trait WorkResult[Result]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FinalResult[Result]
class ProgressiveResult[Result]
object WorkResult

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type