redis.clients.jedis.commands.StreamBinaryCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis is a blazingly small and sane Redis java client.
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);
/**
* @deprecated Use {@link StreamBinaryCommands#xpending(byte[], byte[], redis.clients.jedis.params.XPendingParams)}.
*/
@Deprecated
List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy