IMessageBrowser.peekAsync 方法
定义
重载
peekAsync() |
Asynchronously reads the active messages without changing the state of the receiver or the message source.
|
peekAsync(long fromSequenceNumber) |
Asynchronously reads next the active message without changing the state of the receiver or the message source.
|
peekAsync()
peekAsync(long fromSequenceNumber)
Asynchronously reads next the active message without changing the state of the receiver or the message source.
public CompletableFuture<IMessage> peekAsync(long fromSequenceNumber)
参数
- fromSequenceNumber
- long
The sequence number from where to read the message.