Package akka.actor.testkit.typed
Class Effect.Scheduled<U>
- java.lang.Object
-
- akka.actor.testkit.typed.Effect
-
- akka.actor.testkit.typed.Effect.Scheduled<U>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Effect
public static final class Effect.Scheduled<U> extends Effect implements scala.Product, java.io.Serializable
The behavior usedcontext.scheduleOnce
to schedulemessage
to be sent totarget
afterdelay
FIXME what about events scheduled through the scheduler?- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.testkit.typed.Effect
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$
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
<U> Effect.Scheduled<U>
copy(scala.concurrent.duration.FiniteDuration delay, ActorRef<U> target, U message)
<U> scala.concurrent.duration.FiniteDuration
copy$default$1()
<U> ActorRef<U>
copy$default$2()
<U> U
copy$default$3()
scala.concurrent.duration.FiniteDuration
delay()
java.time.Duration
duration()
boolean
equals(java.lang.Object x$1)
int
hashCode()
U
message()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
ActorRef<U>
target()
java.lang.String
toString()
-
Methods inherited from class akka.actor.testkit.typed.Effect
timerScheduled
-
-
-
-
Method Detail
-
delay
public scala.concurrent.duration.FiniteDuration delay()
-
message
public U message()
-
duration
public java.time.Duration 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
public <U> ActorRef<U> copy$default$2()
-
copy$default$3
public <U> U copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-