Class Effect.Scheduled<U>
java.lang.Object
org.apache.pekko.actor.testkit.typed.Effect
org.apache.pekko.actor.testkit.typed.Effect.Scheduled<U>
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- Effect
The behavior used
context.scheduleOnce to schedule message to be sent to target after delay
FIXME what about events scheduled through the scheduler?- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.testkit.typed.Effect
Effect.AskInitiated<Req,Res, T>, Effect.AskInitiated$, Effect.MessageAdapter<A, T>, Effect.MessageAdapter$, Effect.NoEffects, Effect.NoEffects$, Effect.ReceiveTimeoutCancelled, Effect.ReceiveTimeoutCancelled$, Effect.ReceiveTimeoutSet<T>, Effect.ReceiveTimeoutSet$, Effect.Scheduled<U>, Effect.Scheduled$, Effect.Spawned<T>, Effect.Spawned$, Effect.SpawnedAdapter$, Effect.SpawnedAnonymous<T>, Effect.SpawnedAnonymous$, Effect.SpawnedAnonymousAdapter$, Effect.Stopped, Effect.Stopped$, Effect.TimerCancelled, Effect.TimerCancelled$, Effect.TimerScheduled<U>, Effect.TimerScheduled$, Effect.Unwatched<T>, Effect.Unwatched$, Effect.Watched<T>, Effect.Watched$, Effect.WatchedWith<U, T>, Effect.WatchedWith$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<U> Effect.Scheduled<U><U> scala.concurrent.duration.FiniteDuration<U> ActorRef<U><U> Uscala.concurrent.duration.FiniteDurationdelay()duration()booleaninthashCode()message()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>target()toString()Methods inherited from class org.apache.pekko.actor.testkit.typed.Effect
timerScheduledMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Scheduled
-
-
Method Details
-
delay
public scala.concurrent.duration.FiniteDuration delay() -
target
-
message
-
duration
-
copy
public <U> Effect.Scheduled<U> copy(scala.concurrent.duration.FiniteDuration delay, ActorRef<U> target, U message) -
copy$default$1
public <U> scala.concurrent.duration.FiniteDuration copy$default$1() -
copy$default$2
-
copy$default$3
public <U> U copy$default$3() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-