Package redis.clients.jedis.commands
Interface StreamBinaryCommands
- All Known Subinterfaces:
JedisBinaryCommands
- All Known Implementing Classes:
Jedis,JedisCluster,JedisPooled,JedisSentineled,JedisSharding,UnifiedJedis
public interface StreamBinaryCommands
-
Method Summary
Modifier and TypeMethodDescriptionlongxack(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) xautoclaim(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params) 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) longxdel(byte[] key, byte[]... ids) xgroupCreate(byte[] key, byte[] groupName, byte[] id, boolean makeStream) booleanxgroupCreateConsumer(byte[] key, byte[] groupName, byte[] consumerName) longxgroupDelConsumer(byte[] key, byte[] groupName, byte[] consumerName) longxgroupDestroy(byte[] key, byte[] groupName) xgroupSetID(byte[] key, byte[] groupName, byte[] id) xinfoConsumers(byte[] key, byte[] group) xinfoGroup(byte[] key) Deprecated.xinfoGroups(byte[] key) xinfoStream(byte[] key) xinfoStreamFull(byte[] key) Introspection command used in order to retrieve all information about the streamxinfoStreamFull(byte[] key, int count) Introspection command used in order to retrieve all information about the streamlongxlen(byte[] key) xpending(byte[] key, byte[] groupName) xpending(byte[] key, byte[] groupName, byte[] start, byte[] end, int count, byte[] consumerName) Deprecated.xpending(byte[] key, byte[] groupName, XPendingParams params) xrange(byte[] key, byte[] start, byte[] end) xrange(byte[] key, byte[] start, byte[] end, int count) xread(XReadParams xReadParams, Map.Entry<byte[], byte[]>... streams) xreadGroup(byte[] groupName, byte[] consumer, XReadGroupParams xReadGroupParams, Map.Entry<byte[], byte[]>... streams) xrevrange(byte[] key, byte[] end, byte[] start) xrevrange(byte[] key, byte[] end, byte[] start, int count) longxtrim(byte[] key, long maxLen, boolean approximateLength) longxtrim(byte[] key, XTrimParams params)
-
Method Details
-
xadd
-
xadd
-
xlen
long xlen(byte[] key) -
xrange
-
xrange
-
xrevrange
-
xrevrange
-
xack
long xack(byte[] key, byte[] group, byte[]... ids) -
xgroupCreate
-
xgroupSetID
-
xgroupDestroy
long xgroupDestroy(byte[] key, byte[] groupName) -
xgroupCreateConsumer
boolean xgroupCreateConsumer(byte[] key, byte[] groupName, byte[] consumerName) -
xgroupDelConsumer
long xgroupDelConsumer(byte[] key, byte[] groupName, byte[] consumerName) -
xdel
long xdel(byte[] key, byte[]... ids) -
xtrim
long xtrim(byte[] key, long maxLen, boolean approximateLength) -
xtrim
-
xpending
-
xpending
@Deprecated List<Object> xpending(byte[] key, byte[] groupName, byte[] start, byte[] end, int count, byte[] consumerName) Deprecated. -
xpending
-
xclaim
List<byte[]> xclaim(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids) -
xclaimJustId
List<byte[]> xclaimJustId(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids) -
xautoclaim
List<Object> xautoclaim(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params) -
xautoclaimJustId
List<Object> xautoclaimJustId(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params) -
xinfoStream
-
xinfoStreamFull
Introspection command used in order to retrieve all information about the stream- Parameters:
key- Stream name
-
xinfoStreamFull
Introspection command used in order to retrieve all information about the stream- Parameters:
key- Stream namecount- stream info count
-
xinfoGroup
Deprecated.UsexinfoGroups(byte[]). -
xinfoGroups
-
xinfoConsumers
-
xread
-
xreadGroup
List<Object> xreadGroup(byte[] groupName, byte[] consumer, XReadGroupParams xReadGroupParams, Map.Entry<byte[], byte[]>... streams)
-
xinfoGroups(byte[]).