Class BehaviorImpl


  • public class BehaviorImpl
    extends java.lang.Object
    When the cell is stopping this behavior is used, so that PostStop can be sent to previous behavior from finishTerminate.
    • Constructor Detail

      • BehaviorImpl

        public BehaviorImpl()
    • Method Detail

      • transformMessages

        public static <O,​I> Behavior<O> transformMessages​(Behavior<I> behavior,
                                                                scala.PartialFunction<O,​I> matcher,
                                                                scala.reflect.ClassTag<O> evidence$1)
      • same

        public static <T> Behavior<T> same()
      • unhandled

        public static <T> Behavior<T> unhandled()
      • stopped

        public static <T> Behavior<T> stopped()
      • stopped

        public static <T> Behavior<T> stopped​(scala.Function0<scala.runtime.BoxedUnit> postStop)
      • empty

        public static <T> Behavior<T> empty()
      • ignore

        public static <T> Behavior<T> ignore()
      • failed

        public static <T> Behavior<T> failed​(java.lang.Throwable cause)
      • unhandledSignal

        public static scala.PartialFunction<scala.Tuple2<TypedActorContext<scala.runtime.Nothing$>,​Signal>,​Behavior<scala.runtime.Nothing$>> unhandledSignal()