Class RedisAction
- All Implemented Interfaces:
Comparable<RedisAction>
The initial Redis check can be bypassed by including the skipCache (verify value below) request parameter.
The current implementation of Jedis.set() does not allow clobbering a key/value and expiration but will in a future build. Because of that, Jedis.setex() is used. Since the SET command options can replace SETNX, SETEX, PSETEX, it is possible that in future versions of Redis these three commands will be deprecated and finally removed.
Jedis.set() parameter explanation... nxxx NX|XX, NX -- Only set the key if it does not already exist. XX -- Only set the key if it already exist. expx EX|PX, expire time units: EX = seconds; PX = milliseconds
A future version of jedis alter's .set() to allow for a SetParams object to be used to set 'ex' without requiring the setting of 'nx'
-
Nested Class Summary
Nested classes/interfaces inherited from class io.inversion.Rule
io.inversion.Rule.RuleMatcher -
Field Summary
FieldsFields inherited from class io.inversion.Rule
configMap, configStr, excludeMatchers, excludeOn, includeMatchers, includeOn, name, order -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.inversion.Action
doDelete, doGet, doPatch, doPost, doPut, run0Methods inherited from class io.inversion.Rule
checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludePaths, getConfig, getConfig, getConfigKeys, getDefaultIncludeMatch, getExcludeMatchers, getIncludeMatchers, getName, getOrder, match, matches, matches, toString, withConfig, withExcludeOn, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withIncludeOn, withName, withOrder
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
RedisAction
public RedisAction()
-
-
Method Details
-
run
public void run(io.inversion.Request req, io.inversion.Response res) throws io.inversion.ApiException- Overrides:
runin classio.inversion.Action<RedisAction>- Throws:
io.inversion.ApiException
-