Class RedissonStreamCommands
java.lang.Object
org.redisson.spring.data.connection.RedissonStreamCommands
- All Implemented Interfaces:
org.springframework.data.redis.connection.RedisStreamCommands
public class RedissonStreamCommands
extends Object
implements org.springframework.data.redis.connection.RedisStreamCommands
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions, org.springframework.data.redis.connection.RedisStreamCommands.XPendingOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionxAck
(byte[] key, String group, org.springframework.data.redis.connection.stream.RecordId... recordIds) org.springframework.data.redis.connection.stream.RecordId
xAdd
(org.springframework.data.redis.connection.stream.MapRecord<byte[], byte[], byte[]> record) org.springframework.data.redis.connection.stream.RecordId
xAdd
(org.springframework.data.redis.connection.stream.MapRecord<byte[], byte[], byte[]> record, org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions options) List<org.springframework.data.redis.connection.stream.ByteRecord>
xClaim
(byte[] key, String group, String newOwner, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions options) List<org.springframework.data.redis.connection.stream.RecordId>
xClaimJustId
(byte[] key, String group, String newOwner, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions options) xDel
(byte[] key, org.springframework.data.redis.connection.stream.RecordId... recordIds) xGroupCreate
(byte[] key, String groupName, org.springframework.data.redis.connection.stream.ReadOffset readOffset) xGroupCreate
(byte[] key, String groupName, org.springframework.data.redis.connection.stream.ReadOffset readOffset, boolean mkStream) xGroupDelConsumer
(byte[] key, org.springframework.data.redis.connection.stream.Consumer consumer) xGroupDestroy
(byte[] key, String groupName) org.springframework.data.redis.connection.stream.StreamInfo.XInfoStream
xInfo
(byte[] key) org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumers
xInfoConsumers
(byte[] key, String groupName) org.springframework.data.redis.connection.stream.StreamInfo.XInfoGroups
xInfoGroups
(byte[] key) xLen
(byte[] key) org.springframework.data.redis.connection.stream.PendingMessagesSummary
org.springframework.data.redis.connection.stream.PendingMessages
xPending
(byte[] key, String groupName, org.springframework.data.redis.connection.RedisStreamCommands.XPendingOptions options) List<org.springframework.data.redis.connection.stream.ByteRecord>
xRange
(byte[] key, org.springframework.data.domain.Range<String> range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) List<org.springframework.data.redis.connection.stream.ByteRecord>
xRead
(org.springframework.data.redis.connection.stream.StreamReadOptions readOptions, org.springframework.data.redis.connection.stream.StreamOffset<byte[]>... streams) List<org.springframework.data.redis.connection.stream.ByteRecord>
xReadGroup
(org.springframework.data.redis.connection.stream.Consumer consumer, org.springframework.data.redis.connection.stream.StreamReadOptions readOptions, org.springframework.data.redis.connection.stream.StreamOffset<byte[]>... streams) List<org.springframework.data.redis.connection.stream.ByteRecord>
xRevRange
(byte[] key, org.springframework.data.domain.Range<String> range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) xTrim
(byte[] key, long count) xTrim
(byte[] key, long count, boolean approximateTrimming) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
xAck, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPending, xRange, xRead, xReadGroup, xRevRange
-
Constructor Details
-
RedissonStreamCommands
-
-
Method Details
-
xAdd
public org.springframework.data.redis.connection.stream.RecordId xAdd(org.springframework.data.redis.connection.stream.MapRecord<byte[], byte[], byte[]> record) - Specified by:
xAdd
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xClaimJustId
public List<org.springframework.data.redis.connection.stream.RecordId> xClaimJustId(byte[] key, String group, String newOwner, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions options) - Specified by:
xClaimJustId
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xClaim
public List<org.springframework.data.redis.connection.stream.ByteRecord> xClaim(byte[] key, String group, String newOwner, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions options) - Specified by:
xClaim
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xGroupCreate
public String xGroupCreate(byte[] key, String groupName, org.springframework.data.redis.connection.stream.ReadOffset readOffset, boolean mkStream) - Specified by:
xGroupCreate
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xInfo
public org.springframework.data.redis.connection.stream.StreamInfo.XInfoStream xInfo(byte[] key) - Specified by:
xInfo
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xInfoGroups
public org.springframework.data.redis.connection.stream.StreamInfo.XInfoGroups xInfoGroups(byte[] key) - Specified by:
xInfoGroups
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xInfoConsumers
public org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumers xInfoConsumers(byte[] key, String groupName) - Specified by:
xInfoConsumers
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xPending
public org.springframework.data.redis.connection.stream.PendingMessagesSummary xPending(byte[] key, String groupName) - Specified by:
xPending
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xPending
public org.springframework.data.redis.connection.stream.PendingMessages xPending(byte[] key, String groupName, org.springframework.data.redis.connection.RedisStreamCommands.XPendingOptions options) - Specified by:
xPending
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xAck
public Long xAck(byte[] key, String group, org.springframework.data.redis.connection.stream.RecordId... recordIds) - Specified by:
xAck
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xAdd
public org.springframework.data.redis.connection.stream.RecordId xAdd(org.springframework.data.redis.connection.stream.MapRecord<byte[], byte[], byte[]> record, org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions options) - Specified by:
xAdd
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xDel
public Long xDel(byte[] key, org.springframework.data.redis.connection.stream.RecordId... recordIds) - Specified by:
xDel
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xGroupCreate
public String xGroupCreate(byte[] key, String groupName, org.springframework.data.redis.connection.stream.ReadOffset readOffset) - Specified by:
xGroupCreate
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xGroupDelConsumer
public Boolean xGroupDelConsumer(byte[] key, org.springframework.data.redis.connection.stream.Consumer consumer) - Specified by:
xGroupDelConsumer
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xGroupDestroy
- Specified by:
xGroupDestroy
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xLen
- Specified by:
xLen
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xRange
public List<org.springframework.data.redis.connection.stream.ByteRecord> xRange(byte[] key, org.springframework.data.domain.Range<String> range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) - Specified by:
xRange
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xRead
public List<org.springframework.data.redis.connection.stream.ByteRecord> xRead(org.springframework.data.redis.connection.stream.StreamReadOptions readOptions, org.springframework.data.redis.connection.stream.StreamOffset<byte[]>... streams) - Specified by:
xRead
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xReadGroup
public List<org.springframework.data.redis.connection.stream.ByteRecord> xReadGroup(org.springframework.data.redis.connection.stream.Consumer consumer, org.springframework.data.redis.connection.stream.StreamReadOptions readOptions, org.springframework.data.redis.connection.stream.StreamOffset<byte[]>... streams) - Specified by:
xReadGroup
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xRevRange
public List<org.springframework.data.redis.connection.stream.ByteRecord> xRevRange(byte[] key, org.springframework.data.domain.Range<String> range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) - Specified by:
xRevRange
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xTrim
- Specified by:
xTrim
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-
xTrim
- Specified by:
xTrim
in interfaceorg.springframework.data.redis.connection.RedisStreamCommands
-