Class Behaviors.Supervise<T>

  • Enclosing class:
    Behaviors

    public static final class Behaviors.Supervise<T>
    extends scala.AnyVal
    Specify the SupervisorStrategy to be invoked when the wrapped behavior throws.
    • Constructor Detail

      • Supervise

        public Supervise​(Behavior<T> wrapped)
    • Method Detail

      • onFailure

        public <Thr extends java.lang.Throwable> Behavior<T> onFailure​(SupervisorStrategy strategy,
                                                                       scala.reflect.ClassTag<Thr> evidence$1)
      • 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