java.lang.Object
io.lettuce.core.StreamMessage<K,V>
public class StreamMessage<K,V> extends Object
A stream message and its id.
- Since:
- 5.1
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description StreamMessage(K stream, String id, Map<K,V> body)Create a newStreamMessage. -
Method Summary
-
Constructor Details
-
StreamMessage
Create a newStreamMessage.- Parameters:
stream- the stream.id- the message id.body- map containing the message body.
-
-
Method Details