public class Behavior$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Behavior$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Behavior$() |
Modifier and Type | Method and Description |
---|---|
<T> Behavior<T> |
canonicalize(Behavior<T> behavior,
Behavior<T> current)
Given a possibly special behavior (same or unhandled) and a
“current” behavior (which defines the meaning of encountering a
Same
behavior) this method unwraps the behavior such that the innermost behavior
is returned, i.e. |
<T> boolean |
isAlive(Behavior<T> behavior) |
<T> boolean |
isUnhandled(Behavior<T> behavior) |
<T> Behavior<T> |
preStart(Behavior<T> behavior,
ActorContext<T> ctx) |
<T> Behavior<T> |
validateAsInitial(Behavior<T> behavior) |
public static final Behavior$ MODULE$
public <T> Behavior<T> canonicalize(Behavior<T> behavior, Behavior<T> current)
Same
behavior) this method unwraps the behavior such that the innermost behavior
is returned, i.e. it removes the decorations.behavior
- (undocumented)current
- (undocumented)public <T> Behavior<T> preStart(Behavior<T> behavior, ActorContext<T> ctx)
public <T> boolean isAlive(Behavior<T> behavior)
public <T> boolean isUnhandled(Behavior<T> behavior)