| Modifier and Type | Method and Description |
|---|---|
List<Slice> |
RedisCommand.parameters() |
| Modifier and Type | Field and Description |
|---|---|
static Slice |
ZSetEntry.MAX_VALUE |
static Slice |
ZSetEntry.MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Slice |
Slice.create(byte[] data) |
static Slice |
Slice.create(String data) |
static Slice |
Slice.empty() |
Slice |
RMString.getAsSlice() |
default Slice |
RMDataStructure.getAsSlice() |
Slice |
StringCompatible.getAsSlice() |
Slice |
ZSetEntry.getValue() |
| Modifier and Type | Method and Description |
|---|---|
Map<Slice,Slice> |
RMHash.getStoredData() |
Map<Slice,Slice> |
RMHash.getStoredData() |
List<Slice> |
RMList.getStoredData() |
Set<Slice> |
RMHyperLogLog.getStoredData() |
Set<Slice> |
RMSet.getStoredData() |
| Modifier and Type | Method and Description |
|---|---|
int |
Slice.compareTo(Slice b) |
Double |
RMZSet.getScore(Slice value) |
Double |
RMZSet.put(Slice value,
double score) |
void |
RMHash.put(Slice key,
Slice data) |
boolean |
RMZSet.remove(Slice value) |
| Modifier and Type | Method and Description |
|---|---|
void |
RMHyperLogLog.addAll(Collection<Slice> data) |
| Constructor and Description |
|---|
ZSetEntryBound(double score,
Slice value,
boolean inclusive) |
| Constructor and Description |
|---|
RMSet(Set<Slice> data) |
| Modifier and Type | Method and Description |
|---|---|
Slice |
AbstractRedisOperation.execute() |
Slice |
RedisOperation.execute() |
protected abstract Slice |
AbstractRedisOperation.response() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Slice> |
AbstractRedisOperation.params() |
| Modifier and Type | Method and Description |
|---|---|
RMList |
AbstractRedisOperation.getListFromBaseOrCreateEmpty(Slice key) |
RMSet |
AbstractRedisOperation.getSetFromBaseOrCreateEmpty(Slice key) |
RMZSet |
AbstractRedisOperation.getZSetFromBaseOrCreateEmpty(Slice key) |
| Modifier and Type | Method and Description |
|---|---|
static RedisOperation |
CommandFactory.buildOperation(String name,
boolean transactional,
OperationExecutorState state,
List<Slice> params) |
| Constructor and Description |
|---|
AbstractRedisOperation(RedisBase base,
List<Slice> params) |
| Modifier and Type | Method and Description |
|---|---|
Slice |
Hello.execute() |
Slice |
Quit.execute() |
Slice |
Auth.execute() |
Slice |
Client.execute() |
Slice |
Select.execute() |
| Constructor and Description |
|---|
Select(OperationExecutorState state,
List<Slice> params) |
| Modifier and Type | Method and Description |
|---|---|
protected Slice |
HExists.response() |
protected Slice |
HVals.response() |
protected Slice |
HMGet.response() |
protected Slice |
HMSet.response() |
protected Slice |
HGetAll.response() |
protected Slice |
HStrlen.response() |
protected Slice |
HKeys.response() |
protected Slice |
HLen.response() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Slice> |
HScan.getMatchingValues(String regex,
long cursor,
long count) |
| Constructor and Description |
|---|
HGetAll(RedisBase base,
List<Slice> params) |
HKeys(RedisBase base,
List<Slice> params) |
HLen(RedisBase base,
List<Slice> params) |
HMGet(RedisBase base,
List<Slice> params) |
HMSet(RedisBase base,
List<Slice> params) |
HStrlen(RedisBase base,
List<Slice> params) |
HVals(RedisBase base,
List<Slice> params) |
| Modifier and Type | Field and Description |
|---|---|
protected Slice |
Scan.cursorSlice |
| Modifier and Type | Method and Description |
|---|---|
protected Slice |
Scan.response() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Slice> |
Scan.getMatchingValues(String regex,
long cursor,
long count) |
| Constructor and Description |
|---|
Scan(RedisBase base,
List<Slice> params) |
| Modifier and Type | Method and Description |
|---|---|
protected Slice |
PubSub.response() |
protected Slice |
PUnsubscribe.response() |
protected Slice |
Subscribe.response() |
protected Slice |
Unsubscribe.response() |
protected Slice |
PSubscribe.response() |
| Constructor and Description |
|---|
PSubscribe(OperationExecutorState state,
List<Slice> params) |
PUnsubscribe(OperationExecutorState state,
List<Slice> params) |
Subscribe(OperationExecutorState state,
List<Slice> params) |
Unsubscribe(OperationExecutorState state,
List<Slice> params) |
| Modifier and Type | Method and Description |
|---|---|
static Slice |
MockExecutor.breakConnection(OperationExecutorState state)
Break the connection (imitate Redis shutdown).
|
static Slice |
MockExecutor.proceed(OperationExecutorState state,
String name,
List<Slice> commandParams)
Proceed with execution, mocking the Redis behaviour.
|
protected Slice |
Time.response() |
| Modifier and Type | Method and Description |
|---|---|
static Slice |
MockExecutor.proceed(OperationExecutorState state,
String name,
List<Slice> commandParams)
Proceed with execution, mocking the Redis behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
protected Slice |
SIsMember.response() |
| Modifier and Type | Method and Description |
|---|---|
protected Slice |
ZRemRangeByScore.response() |
protected Slice |
ZRevRangeByScore.response() |
protected Slice |
ZRangeByScore.response() |
protected Slice |
ZCount.response() |
| Constructor and Description |
|---|
AbstractByScoreOperation(RedisBase base,
List<Slice> params) |
ZCount(RedisBase base,
List<Slice> params) |
ZRangeByScore(RedisBase base,
List<Slice> params) |
| Modifier and Type | Method and Description |
|---|---|
Slice |
Discard.execute() |
Slice |
Exec.execute() |
Slice |
Multi.execute() |
Slice |
Watch.execute() |
Slice |
Unwatch.execute() |
| Modifier and Type | Field and Description |
|---|---|
static Slice |
Response.NULL |
static Slice |
Response.OK |
static Slice |
Response.SKIP |
| Modifier and Type | Method and Description |
|---|---|
static Slice |
Response.array(List<Slice> values) |
static Slice |
Response.bulkString(Slice slice) |
static Slice |
Response.clientResponse(String command,
Slice response) |
static Slice |
SliceParser.consumeParameter(byte[] message) |
static Slice |
SliceParser.consumeParameter(InputStream messageInput) |
static Slice |
SliceParser.consumeSlice(InputStream messageInput,
long len) |
static Slice |
Response.doubleValue(double v) |
static Slice |
Response.error(String s) |
Slice |
RedisCommandInterceptor.execCommand(OperationExecutorState state,
String name,
List<Slice> params)
This method is called on operation execution in JedisMock.
|
Slice |
RedisOperationExecutor.execCommand(RedisCommand command) |
static Slice |
Response.integer(long v) |
static Slice |
Response.psubscribedToChannel(List<Slice> patterns) |
static Slice |
Response.publishedMessage(Slice channel,
Slice message) |
static Slice |
Response.publishedPMessage(Slice pattern,
Slice channel,
Slice message) |
static Slice |
Response.punsubscribe(Slice channel,
int remainingSubscriptions) |
static Slice |
Response.subscribedToChannel(List<Slice> channels) |
static Slice |
Response.unsubscribe(Slice channel,
int remainingSubscriptions) |
| Modifier and Type | Method and Description |
|---|---|
static Slice |
Response.bulkString(Slice slice) |
static Slice |
Response.clientResponse(String command,
Slice response) |
static Slice |
Response.publishedMessage(Slice channel,
Slice message) |
static Slice |
Response.publishedPMessage(Slice pattern,
Slice channel,
Slice message) |
static Slice |
Response.punsubscribe(Slice channel,
int remainingSubscriptions) |
void |
RedisClient.sendResponse(Slice response,
String respondingTo)
Send a response due to a specific command.
|
static Slice |
Response.unsubscribe(Slice channel,
int remainingSubscriptions) |
| Modifier and Type | Method and Description |
|---|---|
static Slice |
Response.array(List<Slice> values) |
Slice |
RedisCommandInterceptor.execCommand(OperationExecutorState state,
String name,
List<Slice> params)
This method is called on operation execution in JedisMock.
|
static Slice |
Response.psubscribedToChannel(List<Slice> patterns) |
static Slice |
Response.subscribedToChannel(List<Slice> channels) |
| Modifier and Type | Field and Description |
|---|---|
Set<Slice> |
OperationExecutorState.watchedKeys |
| Modifier and Type | Method and Description |
|---|---|
Slice |
RedisBase.getSlice(Slice key) |
Slice |
RedisBase.getSlice(Slice key1,
Slice key2) |
Slice |
RedisBase.type(Slice slice) |
Slice |
ExpiringKeyValueStorage.type(Slice key) |
| Modifier and Type | Method and Description |
|---|---|
Set<Slice> |
RedisBase.getChannels() |
Map<Slice,Slice> |
RedisBase.getFieldsAndValues(Slice hash) |
Map<Slice,Slice> |
RedisBase.getFieldsAndValues(Slice hash) |
Map<Slice,Set<RedisClient>> |
RedisBase.getPsubscribers(Slice channel) |
List<Slice> |
RedisBase.getPSubscriptions(RedisClient client) |
List<Slice> |
RedisBase.getSubscriptions(RedisClient client) |
Set<Slice> |
RedisBase.keys() |
Map<Slice,Long> |
ExpiringKeyValueStorage.ttls() |
Map<Slice,RMDataStructure> |
ExpiringKeyValueStorage.values() |
| Modifier and Type | Method and Description |
|---|---|
void |
RedisBase.addSubscriber(Slice channel,
RedisClient client) |
void |
ExpiringKeyValueStorage.delete(Slice key) |
void |
ExpiringKeyValueStorage.delete(Slice key1,
Slice key2) |
void |
RedisBase.deleteValue(Slice key) |
void |
RedisBase.deleteValue(Slice key1,
Slice key2) |
boolean |
RedisBase.exists(Slice slice) |
boolean |
ExpiringKeyValueStorage.exists(Slice slice) |
RMBitMap |
RedisBase.getBitMap(Slice key) |
Map<Slice,Slice> |
RedisBase.getFieldsAndValues(Slice hash) |
RMHash |
RedisBase.getHash(Slice key) |
RMHyperLogLog |
RedisBase.getHLL(Slice key) |
RMList |
RedisBase.getList(Slice key) |
Map<Slice,Set<RedisClient>> |
RedisBase.getPsubscribers(Slice channel) |
RMString |
RedisBase.getRMString(Slice key) |
RMSet |
RedisBase.getSet(Slice key) |
Slice |
RedisBase.getSlice(Slice key) |
Slice |
RedisBase.getSlice(Slice key1,
Slice key2) |
Set<RedisClient> |
RedisBase.getSubscribers(Slice channel) |
Long |
RedisBase.getTTL(Slice key) |
Long |
ExpiringKeyValueStorage.getTTL(Slice key) |
RMDataStructure |
RedisBase.getValue(Slice key) |
RMDataStructure |
ExpiringKeyValueStorage.getValue(Slice key) |
RMZSet |
RedisBase.getZSet(Slice key) |
void |
ExpiringKeyValueStorage.put(Slice key,
RMDataStructure value,
Long ttl) |
void |
ExpiringKeyValueStorage.put(Slice key,
Slice value,
Long ttl) |
void |
ExpiringKeyValueStorage.put(Slice key1,
Slice key2,
Slice value,
Long ttl) |
void |
RedisBase.putSlice(Slice key,
Slice value,
Long ttl) |
void |
RedisBase.putSlice(Slice key1,
Slice key2,
Slice value,
Long ttl) |
void |
RedisBase.putValue(Slice key,
RMDataStructure value) |
void |
RedisBase.putValue(Slice key,
RMDataStructure value,
Long ttl) |
void |
RedisBase.putValueWithoutClearingTtl(Slice key,
RMDataStructure value) |
boolean |
RedisBase.removePSubscriber(Slice channel,
RedisClient client) |
boolean |
RedisBase.removeSubscriber(Slice channel,
RedisClient client) |
long |
RedisBase.setDeadline(Slice key,
long deadline) |
long |
ExpiringKeyValueStorage.setDeadline(Slice key,
long deadline) |
long |
RedisBase.setTTL(Slice key,
long ttl) |
long |
ExpiringKeyValueStorage.setTTL(Slice key,
long ttl) |
void |
RedisBase.subscribeByPattern(Slice pattern,
RedisClient client) |
Slice |
RedisBase.type(Slice slice) |
Slice |
ExpiringKeyValueStorage.type(Slice key) |
void |
RedisBase.unwatchSingleKey(OperationExecutorState state,
Slice key) |
void |
RedisBase.watch(OperationExecutorState state,
Slice key) |
| Modifier and Type | Method and Description |
|---|---|
void |
OperationExecutorState.watch(List<Slice> keys) |
| Constructor and Description |
|---|
ExpiringKeyValueStorage(Consumer<Slice> keyChangeNotifier) |
Copyright © 2023. All rights reserved.