| Constructor and Description |
|---|
XReadParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(CommandArguments args) |
XReadParams |
block(int block) |
XReadParams |
count(int count) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
XReadParams |
maxCount(int maxCount)
Limit the total number of entries returned across all streams combined.
|
XReadParams |
maxSize(long maxSize)
Apply a soft cap to the total server reply size in bytes across all streams combined.
|
static XReadParams |
xReadParams() |
public static XReadParams xReadParams()
public XReadParams count(int count)
public XReadParams 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. 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 XReadParams maxSize(long maxSize)
maxSize - cumulative soft reply-size cap in bytespublic XReadParams block(int block)
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.