| Constructor and Description |
|---|
XReadGroupParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(CommandArguments args) |
XReadGroupParams |
block(int block) |
XReadGroupParams |
claim(long minIdleMillis) |
XReadGroupParams |
count(int count) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
XReadGroupParams |
maxCount(int maxCount)
Limit the total number of entries returned across all streams combined.
|
XReadGroupParams |
maxSize(long maxSize)
Apply a soft cap to the total server reply size in bytes across all streams combined.
|
XReadGroupParams |
noAck() |
static XReadGroupParams |
xReadGroupParams() |
public static XReadGroupParams xReadGroupParams()
public XReadGroupParams count(int count)
public XReadGroupParams maxCount(int maxCount)
COUNT,
which is a per-stream limit, MAXCOUNT caps the whole command reply; once the cap is
reached, remaining streams are skipped. Entries not emitted because of the cap are neither
delivered nor added to the consumer's pending entries. Defaults to unlimited when unset. Must
be a positive integer and, when COUNT is also set and positive, greater than or equal
to it (validated by the server).maxCount - cumulative entry cap across all streamspublic XReadGroupParams maxSize(long maxSize)
maxSize - cumulative soft reply-size cap in bytespublic XReadGroupParams block(int block)
public XReadGroupParams noAck()
public XReadGroupParams claim(long minIdleMillis)
public void addParams(CommandArguments args)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2026. All rights reserved.