public final class SideEffects
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SideEffects.EgressSideEffect
A utility class that wraps a
EgressMessage thats was sent by a StatefulFunction . |
static class |
SideEffects.SendAfterSideEffect
A utility class that wraps a
Message and the Duration after which it was sent
by a StatefulFunction . |
static class |
SideEffects.SendSideEffect
A utility class that wraps a
Message that was sent by a StatefulFunction . |
Modifier and Type | Method and Description |
---|---|
static SideEffects.SendAfterSideEffect |
sentAfter(java.time.Duration duration,
Message message) |
static SideEffects.EgressSideEffect |
sentEgress(EgressMessage message) |
static SideEffects.SendSideEffect |
sentMessage(Message message) |
public static SideEffects.SendSideEffect sentMessage(Message message)
public static SideEffects.SendAfterSideEffect sentAfter(java.time.Duration duration, Message message)
public static SideEffects.EgressSideEffect sentEgress(EgressMessage message)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.