Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
redis.clients.jedis.commands.StreamBinaryCommands Maven / Gradle / Ivy
package redis.clients.jedis.commands;
import java.util.List;
import java.util.Map;
import redis.clients.jedis.params.*;
public interface StreamBinaryCommands {
default byte[] xadd(byte[] key, Map hash, XAddParams params) {
return xadd(key, params, hash);
}
byte[] xadd(byte[] key, XAddParams params, Map hash);
long xlen(byte[] key);
List xrange(byte[] key, byte[] start, byte[] end);
List xrange(byte[] key, byte[] start, byte[] end, int count);
List xrevrange(byte[] key, byte[] end, byte[] start);
List 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);
List xpending(byte[] key, byte[] groupName, XPendingParams params);
List xclaim(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids);
List xclaimJustId(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids);
List xautoclaim(byte[] key, byte[] groupName, byte[] consumerName,
long minIdleTime, byte[] start, XAutoClaimParams params);
List xautoclaimJustId(byte[] key, byte[] groupName, byte[] consumerName,
long minIdleTime, byte[] start, XAutoClaimParams params);
Object xinfoStream(byte[] key);
/**
* Introspection command used in order to retrieve all information about the stream
* @param key Stream name
*/
Object xinfoStreamFull(byte[] key);
/**
* Introspection command used in order to retrieve all information about the stream
* @param key Stream name
* @param count stream info count
*/
Object xinfoStreamFull(byte[] key, int count);
List xinfoGroups(byte[] key);
List xinfoConsumers(byte[] key, byte[] group);
List xread(XReadParams xReadParams, Map.Entry... streams);
List xreadGroup(byte[] groupName, byte[] consumer, XReadGroupParams xReadGroupParams,
Map.Entry... streams);
}