public class XGroupCreateArgs extends Object
XGroupCreateArgs.Builder
and call the methods: mkstream(…)
.
XGroupCreateArgs
is a mutable object and instances should be used only once to avoid shared mutable state.Modifier and Type | Class and Description |
---|---|
static class |
XGroupCreateArgs.Builder
Builder entry points for
XGroupCreateArgs . |
Constructor and Description |
---|
XGroupCreateArgs() |
Modifier and Type | Method and Description |
---|---|
<K,V> void |
build(CommandArgs<K,V> args) |
XGroupCreateArgs |
entriesRead(long entriesRead)
Configure the ENTRIESREAD argument.
|
XGroupCreateArgs |
mkstream(boolean mkstream)
Make a stream if it does not exists.
|
public XGroupCreateArgs mkstream(boolean mkstream)
mkstream
- whether to apply MKSTREAMthis
public XGroupCreateArgs entriesRead(long entriesRead)
entriesRead
- number of read entries for lag tracking.this
public <K,V> void build(CommandArgs<K,V> args)
Copyright © 2022 lettuce.io. All rights reserved.