Class ReactiveStreamCommands.GroupCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStreamCommands.GroupCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveStreamCommands
- Since:
- 2.2
- Author:
- Mark Paluch, Christoph Strobl, Tugdual Grall, Dengliming, Mark John Moreno, jinkshower, Jeonggyu Choi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionGroupCommand(@Nullable ByteBuffer key, ReactiveStreamCommands.GroupCommand.GroupCommandAction action, @Nullable String groupName, @Nullable String consumerName, @Nullable ReadOffset offset) GroupCommand(@Nullable ByteBuffer key, ReactiveStreamCommands.GroupCommand.GroupCommandAction action, @Nullable String groupName, @Nullable String consumerName, @Nullable ReadOffset offset, boolean mkStream) -
Method Summary
Modifier and TypeMethodDescriptionat(ReadOffset offset) createGroup(String group) deleteConsumer(String consumerName) deleteConsumer(Consumer consumer) destroyGroup(String group) forStream(ByteBuffer key) booleanmakeStream(boolean mkStream) Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Constructor Details
-
GroupCommand
public GroupCommand(@Nullable ByteBuffer key, ReactiveStreamCommands.GroupCommand.GroupCommandAction action, @Nullable String groupName, @Nullable String consumerName, @Nullable ReadOffset offset, boolean mkStream) -
GroupCommand
public GroupCommand(@Nullable ByteBuffer key, ReactiveStreamCommands.GroupCommand.GroupCommandAction action, @Nullable String groupName, @Nullable String consumerName, @Nullable ReadOffset offset)
-
-
Method Details
-
createGroup
-
destroyGroup
-
deleteConsumer
-
deleteConsumer
-
makeStream
-
at
-
forStream
-
fromGroup
-
isMkStream
public boolean isMkStream() -
getReadOffset
-
getGroupName
-
getConsumerName
-
getAction
-