| Modifier and Type | Method and Description |
|---|---|
static <K> XReadArgs.StreamOffset<K> |
from(K name,
String offset)
Read all arriving elements from the stream identified by
name starting at offset. |
K |
getName() |
String |
getOffset() |
static <K> XReadArgs.StreamOffset<K> |
lastConsumed(K name)
Read all new arriving elements from the stream identified by
name with ids greater than the last one consumed
by the consumer group. |
static <K> XReadArgs.StreamOffset<K> |
latest(K name)
Read all new arriving elements from the stream identified by
name. |
String |
toString() |
public static <K> XReadArgs.StreamOffset<K> latest(K name)
name.name - must not be null.XReadArgs.StreamOffset object without a specific offset.public static <K> XReadArgs.StreamOffset<K> lastConsumed(K name)
name with ids greater than the last one consumed
by the consumer group.name - must not be null.XReadArgs.StreamOffset object without a specific offset.public static <K> XReadArgs.StreamOffset<K> from(K name, String offset)
name starting at offset.name - must not be null.offset - the stream offset.XReadArgs.StreamOffset object without a specific offset.public K getName()
public String getOffset()
Copyright © 2021 lettuce.io. All rights reserved.