Package glide.api.models.commands.stream
Class StreamGroupOptions.StreamGroupOptionsBuilder
- java.lang.Object
-
- glide.api.models.commands.stream.StreamGroupOptions.StreamGroupOptionsBuilder
-
- Enclosing class:
- StreamGroupOptions
public static class StreamGroupOptions.StreamGroupOptionsBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamGroupOptionsbuild()StreamGroupOptions.StreamGroupOptionsBuilderentriesRead(java.lang.Long entriesRead)A value representing the number of stream entries already read by the group.StreamGroupOptions.StreamGroupOptionsBuildermakeStream()If the stream doesn't exist, this creates a new stream with a length of0.StreamGroupOptions.StreamGroupOptionsBuildermkStream(boolean mkStream)Iftrueand the stream doesn't exist, creates a new stream with a length of0.java.lang.StringtoString()
-
-
-
Method Detail
-
makeStream
public StreamGroupOptions.StreamGroupOptionsBuilder makeStream()
If the stream doesn't exist, this creates a new stream with a length of0.
-
mkStream
public StreamGroupOptions.StreamGroupOptionsBuilder mkStream(boolean mkStream)
Iftrueand the stream doesn't exist, creates a new stream with a length of0.- Returns:
this.
-
entriesRead
public StreamGroupOptions.StreamGroupOptionsBuilder entriesRead(java.lang.Long entriesRead)
A value representing the number of stream entries already read by the group.- Returns:
this.- Since:
- Valkey 7.0.0
-
build
public StreamGroupOptions build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-