| 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 |
count(long count)
Create a new
XReadArgs and set COUNT. |
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 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)Copyright © 2021 lettuce.io. All rights reserved.