Package akka.actor.testkit.typed
Class Effect
- java.lang.Object
-
- akka.actor.testkit.typed.Effect
-
- Direct Known Subclasses:
Effect.AskInitiated
,Effect.MessageAdapter
,Effect.NoEffects
,Effect.ReceiveTimeoutCancelled
,Effect.ReceiveTimeoutSet
,Effect.Scheduled
,Effect.Spawned
,Effect.SpawnedAnonymous
,Effect.Stopped
,Effect.TimerCancelled
,Effect.TimerScheduled
,Effect.Unwatched
,Effect.Watched
,Effect.WatchedWith
public abstract class Effect extends java.lang.Object
All tracked effects for theBehaviorTestKit
andBehaviorTestKit
must extend this type.Factories/types for effects are available through
Effects
andEffects
Not for user extension
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Effect.AskInitiated<Req,Res,T>
The behavior initiated an ask via its context.static class
Effect.AskInitiated$
static class
Effect.MessageAdapter<A,T>
The behavior create a message adapter for the messages of type clazzstatic class
Effect.MessageAdapter$
static class
Effect.NoEffects
Used for NoEffects expectations by typestatic class
Effect.NoEffects$
Used to represent an empty list of effects - in other words, the behavior didn't do anything observablestatic class
Effect.ReceiveTimeoutCancelled
static class
Effect.ReceiveTimeoutCancelled$
static class
Effect.ReceiveTimeoutSet<T>
The behavior set a new receive timeout, withmessage
as timeout notificationstatic class
Effect.ReceiveTimeoutSet$
static class
Effect.Scheduled<U>
The behavior usedcontext.scheduleOnce
to schedulemessage
to be sent totarget
afterdelay
FIXME what about events scheduled through the scheduler?static class
Effect.Scheduled$
static class
Effect.Spawned<T>
The behavior spawned a named child with the given behavior (and optionally specific props)static class
Effect.Spawned$
static class
Effect.SpawnedAdapter$
INTERNAL API Spawning adapters is private[akka]static class
Effect.SpawnedAnonymous<T>
The behavior spawned an anonymous child with the given behavior (and optionally specific props)static class
Effect.SpawnedAnonymous$
static class
Effect.SpawnedAnonymousAdapter$
INTERNAL APIstatic class
Effect.Stopped
The behavior stoppedchildName
static class
Effect.Stopped$
static class
Effect.TimerCancelled
static class
Effect.TimerCancelled$
static class
Effect.TimerScheduled<U>
static class
Effect.TimerScheduled$
static class
Effect.Unwatched<T>
The behavior stopped watchingother
, throughcontext.unwatch(other)
static class
Effect.Unwatched$
static class
Effect.Watched<T>
The behavior started watchingother
, throughcontext.watch(other)
static class
Effect.Watched$
static class
Effect.WatchedWith<U,T>
The behavior started watchingother
, throughcontext.watchWith(other, message)
static class
Effect.WatchedWith$
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Effect.TimerScheduled$
timerScheduled()
-
-
-
Method Detail
-
timerScheduled
public static Effect.TimerScheduled$ timerScheduled()
-
-