T
- the type payload expected in the received messages.public interface InMemorySink<T>
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the list of received messages.
|
Throwable |
getFailure() |
boolean |
hasCompleted() |
boolean |
hasFailed() |
String |
name() |
List<? extends Message<T>> |
received() |
String name()
List<? extends Message<T>> received()
clear()
method allows flushing the list.void clear()
boolean hasCompleted()
true
if the channel received the completion event.boolean hasFailed()
true
if the channel received the failure event.Throwable getFailure()
hasFailed()
returned true
.Copyright © 2018–2021 SmallRye. All rights reserved.