Class Behaviors.Supervise<T>

  • Enclosing class:
    Behaviors

    public static final class Behaviors.Supervise<T>
    extends scala.AnyVal
    • Method Detail

      • onFailure

        public <Thr extends java.lang.Throwable> Behavior<T> onFailure​(SupervisorStrategy strategy,
                                                                       scala.reflect.ClassTag<Thr> tag)
        Specify the SupervisorStrategy to be invoked when the wrapped behavior throws.
      • onFailure$default$2

        public <Thr extends java.lang.Throwable> scala.reflect.ClassTag<scala.runtime.Nothing$> onFailure$default$2​(SupervisorStrategy strategy)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Overrides:
        equals in class java.lang.Object