public class RedissonStreamCommands extends Object implements 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 and Description |
|---|
RedissonStreamCommands(RedissonConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
Long |
xAck(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) |
Long |
xDel(byte[] key,
org.springframework.data.redis.connection.stream.RecordId... recordIds) |
String |
xGroupCreate(byte[] key,
String groupName,
org.springframework.data.redis.connection.stream.ReadOffset readOffset) |
String |
xGroupCreate(byte[] key,
String groupName,
org.springframework.data.redis.connection.stream.ReadOffset readOffset,
boolean mkStream) |
Boolean |
xGroupDelConsumer(byte[] key,
org.springframework.data.redis.connection.stream.Consumer consumer) |
Boolean |
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) |
Long |
xLen(byte[] key) |
org.springframework.data.redis.connection.stream.PendingMessagesSummary |
xPending(byte[] key,
String groupName) |
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) |
Long |
xTrim(byte[] key,
long count) |
public RedissonStreamCommands(RedissonConnection connection)
public org.springframework.data.redis.connection.stream.RecordId xAdd(org.springframework.data.redis.connection.stream.MapRecord<byte[],byte[],byte[]> record)
xAdd in interface org.springframework.data.redis.connection.RedisStreamCommandspublic List<org.springframework.data.redis.connection.stream.RecordId> xClaimJustId(byte[] key, String group, String newOwner, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions options)
xClaimJustId in interface org.springframework.data.redis.connection.RedisStreamCommandspublic List<org.springframework.data.redis.connection.stream.ByteRecord> xClaim(byte[] key, String group, String newOwner, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions options)
xClaim in interface org.springframework.data.redis.connection.RedisStreamCommandspublic String xGroupCreate(byte[] key, String groupName, org.springframework.data.redis.connection.stream.ReadOffset readOffset, boolean mkStream)
xGroupCreate in interface org.springframework.data.redis.connection.RedisStreamCommandspublic org.springframework.data.redis.connection.stream.StreamInfo.XInfoStream xInfo(byte[] key)
xInfo in interface org.springframework.data.redis.connection.RedisStreamCommandspublic org.springframework.data.redis.connection.stream.StreamInfo.XInfoGroups xInfoGroups(byte[] key)
xInfoGroups in interface org.springframework.data.redis.connection.RedisStreamCommandspublic org.springframework.data.redis.connection.stream.StreamInfo.XInfoConsumers xInfoConsumers(byte[] key,
String groupName)
xInfoConsumers in interface org.springframework.data.redis.connection.RedisStreamCommandspublic org.springframework.data.redis.connection.stream.PendingMessagesSummary xPending(byte[] key,
String groupName)
xPending in interface org.springframework.data.redis.connection.RedisStreamCommandspublic org.springframework.data.redis.connection.stream.PendingMessages xPending(byte[] key,
String groupName,
org.springframework.data.redis.connection.RedisStreamCommands.XPendingOptions options)
xPending in interface org.springframework.data.redis.connection.RedisStreamCommandspublic Long xAck(byte[] key, String group, org.springframework.data.redis.connection.stream.RecordId... recordIds)
xAck in interface org.springframework.data.redis.connection.RedisStreamCommandspublic 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)
xAdd in interface org.springframework.data.redis.connection.RedisStreamCommandspublic Long xDel(byte[] key, org.springframework.data.redis.connection.stream.RecordId... recordIds)
xDel in interface org.springframework.data.redis.connection.RedisStreamCommandspublic String xGroupCreate(byte[] key, String groupName, org.springframework.data.redis.connection.stream.ReadOffset readOffset)
xGroupCreate in interface org.springframework.data.redis.connection.RedisStreamCommandspublic Boolean xGroupDelConsumer(byte[] key, org.springframework.data.redis.connection.stream.Consumer consumer)
xGroupDelConsumer in interface org.springframework.data.redis.connection.RedisStreamCommandspublic Boolean xGroupDestroy(byte[] key, String groupName)
xGroupDestroy in interface org.springframework.data.redis.connection.RedisStreamCommandspublic Long xLen(byte[] key)
xLen in interface org.springframework.data.redis.connection.RedisStreamCommandspublic 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)
xRange in interface org.springframework.data.redis.connection.RedisStreamCommandspublic 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)
xRead in interface org.springframework.data.redis.connection.RedisStreamCommandspublic 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)
xReadGroup in interface org.springframework.data.redis.connection.RedisStreamCommandspublic 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)
xRevRange in interface org.springframework.data.redis.connection.RedisStreamCommandspublic Long xTrim(byte[] key, long count)
xTrim in interface org.springframework.data.redis.connection.RedisStreamCommandsCopyright © 2014–2020 Redisson. All rights reserved.