public static final class SideEffects.SendAfterSideEffect
extends java.lang.Object
Message
and the Duration
after which it was sent
by a StatefulFunction
. It is used by the TestContext
.Constructor and Description |
---|
SendAfterSideEffect(java.time.Duration duration,
Message message) |
SendAfterSideEffect(java.time.Duration duration,
Message message,
java.lang.String cancellationToken) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
cancellationToken() |
java.time.Duration |
duration() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Message |
message() |
java.lang.String |
toString() |
public SendAfterSideEffect(java.time.Duration duration, Message message)
public SendAfterSideEffect(java.time.Duration duration, Message message, java.lang.String cancellationToken)
public java.time.Duration duration()
public Message message()
public java.util.Optional<java.lang.String> cancellationToken()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.