LocalSoftDeadline

h8io.stages.operators.LocalSoftDeadline
See theLocalSoftDeadline companion class

Companion object and factory for LocalSoftDeadline.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[I, O, E](duration: FiniteDuration, stage: Stage[I, O, E]): Stage[I, O, E]

Wraps stage with a local deadline of the given scala.concurrent.duration.FiniteDuration.

Wraps stage with a local deadline of the given scala.concurrent.duration.FiniteDuration.

Returns h8io.stages.std.DeadEnd if duration is non-positive.

Attributes

def apply[I, O, E](duration: Duration, stage: Stage[I, O, E]): Stage[I, O, E]

Wraps stage with a local deadline of the given java.time.Duration.

Wraps stage with a local deadline of the given java.time.Duration.

Returns h8io.stages.std.DeadEnd if duration is non-positive.

Attributes

def apply[I, O, E](duration: FiniteDuration): Stage[I, O, E] => Stage[I, O, E]

Returns a h8io.stages.base.Decoration that applies this deadline to any stage.

Returns a h8io.stages.base.Decoration that applies this deadline to any stage.

Useful when the same timeout should be applied to multiple stages.

Attributes

def apply[I, O, E](duration: Duration): Stage[I, O, E] => Stage[I, O, E]

Returns a h8io.stages.base.Decoration that applies this deadline to any stage.

Returns a h8io.stages.base.Decoration that applies this deadline to any stage.

Attributes