Class XTrim
java.lang.Object
com.github.fppt.jedismock.operations.AbstractRedisOperation
com.github.fppt.jedismock.operations.streams.XTrim
- All Implemented Interfaces:
RedisOperation
XTRIM key (MAXLEN | MINID) [= | ~] threshold [LIMIT count]
Supported options: MINID, MAXLEN, LIMIT, =
Unsupported options: "~" - due to the fact that our implementation works as = option
Supported options: MINID, MAXLEN, LIMIT, =
Unsupported options: "~" - due to the fact that our implementation works as = option
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.fppt.jedismock.operations.AbstractRedisOperation
base, doOptionalWork, execute, getListFromBaseOrCreateEmpty, getSetFromBaseOrCreateEmpty, getStreamFromBaseOrCreateEmpty, getZSetFromBaseOrCreateEmpty, maxArgs, params, self
-
Constructor Details
-
XTrim
-
-
Method Details
-
minArgs
protected int minArgs()Description copied from class:AbstractRedisOperationMinimum number of arguments (inclusive)- Overrides:
minArgsin classAbstractRedisOperation
-
response
- Specified by:
responsein classAbstractRedisOperation
-