| Modifier and Type | Method and Description |
|---|---|
static XReadArgs |
block(Duration timeout)
Create a new
XReadArgs and set BLOCK. |
static XReadArgs |
block(long milliseconds)
Create a new
XReadArgs and set BLOCK. |
static XReadArgs |
claim(Duration timeout)
Create a new
XReadArgs and set CLAIM min-idle-time. |
static XReadArgs |
claim(long milliseconds)
Create a new
XReadArgs and set CLAIM min-idle-time. |
static XReadArgs |
count(long count)
Create a new
XReadArgs and set COUNT. |
static XReadArgs |
maxCount(long maxCount)
Create a new
XReadArgs and set MAXCOUNT. |
static XReadArgs |
maxSize(long maxSize)
Create a new
XReadArgs and set MAXSIZE. |
static XReadArgs |
noack()
Create a new
XReadArgs and set NOACK. |
static XReadArgs |
noack(boolean noack)
Create a new
XReadArgs and set NOACK. |
public static XReadArgs block(long milliseconds)
XReadArgs and set BLOCK.milliseconds - time to block.XReadArgs with BLOCK set.XReadArgs.block(long)public static XReadArgs block(Duration timeout)
XReadArgs and set BLOCK.timeout - time to block.XReadArgs with BLOCK set.XReadArgs.block(Duration)public static XReadArgs count(long count)
XReadArgs and set COUNT.count - XReadArgs with COUNT set.public static XReadArgs maxCount(long maxCount)
XReadArgs and set MAXCOUNT.maxCount - cumulative cap on the number of returned entries across all streams, must be positive.XReadArgs with MAXCOUNT set.XReadArgs.maxCount(long)public static XReadArgs maxSize(long maxSize)
XReadArgs and set MAXSIZE.maxSize - soft cumulative cap on the reply size in bytes across all streams, must be positive.XReadArgs with MAXSIZE set.XReadArgs.maxSize(long)public static XReadArgs noack()
XReadArgs and set NOACK.XReadArgs with NOACK set.XReadArgs.noack(boolean)public static XReadArgs noack(boolean noack)
XReadArgs and set NOACK.noack - XReadArgs with NOACK set.XReadArgs.noack(boolean)public static XReadArgs claim(long milliseconds)
XReadArgs and set CLAIM min-idle-time.milliseconds - minimum idle time.XReadArgs with CLAIM setCopyright © 2026 lettuce.io. All rights reserved.