Modifier and Type | Method and Description |
---|---|
static XAddArgs |
maxlen(long count)
Creates new
XAddArgs and setting MAXLEN. |
static XAddArgs |
minId(String minid)
Creates new
XAddArgs and setting MINID. |
static XAddArgs |
nomkstream()
Creates new
XAddArgs and setting NOMKSTREAM. |
public static XAddArgs maxlen(long count)
XAddArgs
and setting MAXLEN.XAddArgs
with MAXLEN set.XAddArgs.maxlen(long)
public static XAddArgs nomkstream()
XAddArgs
and setting NOMKSTREAM.XAddArgs
with NOMKSTREAM set.XAddArgs.nomkstream()
public static XAddArgs minId(String minid)
XAddArgs
and setting MINID.minid
- the oldest ID in the stream will be exactly the minimum between its original oldest ID and the specified
threshold.XAddArgs
with MINID set.XAddArgs.minId(String)
Copyright © 2023 lettuce.io. All rights reserved.