java.lang.Object
io.lettuce.core.XGroupCreateArgs
public class XGroupCreateArgs extends Object
Argument list builder for the Redis XGROUP CREATE command. Static import the
methods from
XGroupCreateArgs.Builder and call the methods: mkstream(…) .
XGroupCreateArgs is a mutable object and instances should be used only once to avoid shared mutable state.- Since:
- 5.2
- Author:
- Mark Paluch
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXGroupCreateArgs.BuilderBuilder entry points forXGroupCreateArgs. -
Constructor Summary
Constructors Constructor Description XGroupCreateArgs() -
Method Summary
Modifier and Type Method Description <K, V> voidbuild(CommandArgs<K,V> args)XGroupCreateArgsmkstream(boolean mkstream)Make a stream if it does not exists.
-
Constructor Details
-
XGroupCreateArgs
public XGroupCreateArgs()
-
-
Method Details
-
mkstream
Make a stream if it does not exists.- Parameters:
mkstream- whether to apply MKSTREAM- Returns:
this
-
build
-