public interface StreamBinaryCommands
Modifier and Type | Method and Description |
---|---|
long |
xack(byte[] key,
byte[] group,
byte[]... ids) |
default byte[] |
xadd(byte[] key,
Map<byte[],byte[]> hash,
XAddParams params) |
byte[] |
xadd(byte[] key,
XAddParams params,
Map<byte[],byte[]> hash) |
List<Object> |
xautoclaim(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
List<Object> |
xautoclaimJustId(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
List<byte[]> |
xclaim(byte[] key,
byte[] group,
byte[] consumerName,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
List<byte[]> |
xclaimJustId(byte[] key,
byte[] group,
byte[] consumerName,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
long |
xdel(byte[] key,
byte[]... ids) |
String |
xgroupCreate(byte[] key,
byte[] groupName,
byte[] id,
boolean makeStream) |
boolean |
xgroupCreateConsumer(byte[] key,
byte[] groupName,
byte[] consumerName) |
long |
xgroupDelConsumer(byte[] key,
byte[] groupName,
byte[] consumerName) |
long |
xgroupDestroy(byte[] key,
byte[] groupName) |
String |
xgroupSetID(byte[] key,
byte[] groupName,
byte[] id) |
List<Object> |
xinfoConsumers(byte[] key,
byte[] group) |
List<Object> |
xinfoGroup(byte[] key)
Deprecated.
Use
xinfoGroups(byte[]) . |
List<Object> |
xinfoGroups(byte[] key) |
Object |
xinfoStream(byte[] key) |
Object |
xinfoStreamFull(byte[] key)
Introspection command used in order to retrieve all information about the stream
|
Object |
xinfoStreamFull(byte[] key,
int count)
Introspection command used in order to retrieve all information about the stream
|
long |
xlen(byte[] key) |
Object |
xpending(byte[] key,
byte[] groupName) |
List<Object> |
xpending(byte[] key,
byte[] groupName,
byte[] start,
byte[] end,
int count,
byte[] consumerName)
Deprecated.
|
List<Object> |
xpending(byte[] key,
byte[] groupName,
XPendingParams params) |
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end) |
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
int count) |
List<byte[]> |
xread(XReadParams xReadParams,
Map.Entry<byte[],byte[]>... streams) |
List<byte[]> |
xreadGroup(byte[] groupName,
byte[] consumer,
XReadGroupParams xReadGroupParams,
Map.Entry<byte[],byte[]>... streams) |
List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start) |
List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start,
int count) |
long |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
long |
xtrim(byte[] key,
XTrimParams params) |
default byte[] xadd(byte[] key, Map<byte[],byte[]> hash, XAddParams params)
byte[] xadd(byte[] key, XAddParams params, Map<byte[],byte[]> hash)
long xlen(byte[] key)
List<byte[]> xrange(byte[] key, byte[] start, byte[] end)
List<byte[]> xrange(byte[] key, byte[] start, byte[] end, int count)
List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start)
List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
long xack(byte[] key, byte[] group, byte[]... ids)
String xgroupCreate(byte[] key, byte[] groupName, byte[] id, boolean makeStream)
String xgroupSetID(byte[] key, byte[] groupName, byte[] id)
long xgroupDestroy(byte[] key, byte[] groupName)
boolean xgroupCreateConsumer(byte[] key, byte[] groupName, byte[] consumerName)
long xgroupDelConsumer(byte[] key, byte[] groupName, byte[] consumerName)
long xdel(byte[] key, byte[]... ids)
long xtrim(byte[] key, long maxLen, boolean approximateLength)
long xtrim(byte[] key, XTrimParams params)
Object xpending(byte[] key, byte[] groupName)
@Deprecated List<Object> xpending(byte[] key, byte[] groupName, byte[] start, byte[] end, int count, byte[] consumerName)
xpending(byte[], byte[], redis.clients.jedis.params.XPendingParams)
.List<Object> xpending(byte[] key, byte[] groupName, XPendingParams params)
List<byte[]> xclaim(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids)
List<byte[]> xclaimJustId(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids)
List<Object> xautoclaim(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
List<Object> xautoclaimJustId(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
Object xinfoStream(byte[] key)
Object xinfoStreamFull(byte[] key)
key
- Stream nameObject xinfoStreamFull(byte[] key, int count)
key
- Stream namecount
- stream info count@Deprecated List<Object> xinfoGroup(byte[] key)
xinfoGroups(byte[])
.List<byte[]> xread(XReadParams xReadParams, Map.Entry<byte[],byte[]>... streams)
List<byte[]> xreadGroup(byte[] groupName, byte[] consumer, XReadGroupParams xReadGroupParams, Map.Entry<byte[],byte[]>... streams)
Copyright © 2022. All rights reserved.