Class Behaviors.Supervise<T>

  • Enclosing class:
    Behaviors

    public static final class Behaviors.Supervise<T>
    extends scala.AnyVal
    • Constructor Summary

      Constructors 
      Constructor Description
      Supervise​(Behavior<T> wrapped)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object x$1)  
      int hashCode()  
      <Thr extends java.lang.Throwable>
      Behavior<T>
      onFailure​(SupervisorStrategy strategy, scala.reflect.ClassTag<Thr> evidence$1)
      Specify the SupervisorStrategy to be invoked when the wrapped behavior throws.
      Behavior<T> wrapped()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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)
        Specify the SupervisorStrategy to be invoked when the wrapped behavior throws.
      • 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