public class RedisAction extends io.inversion.Action<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'
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
RedisAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
run(io.inversion.Request req,
io.inversion.Response res) |
configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run0, withDecorationafterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddResponse, addResponse, beautifyTag, buildOperation, documentOpDelete, documentOperationSchema, documentOpFind, documentOpGet, documentOpPatch, documentOpPost, documentOpPut, documentOpRelated, documentParam, documentQueryParams, documentRequestSchema, documentResourceSchema, documentResponseSchema, findOp, getDescription, getSchemaRef, hasParam, hook_documentOp, newComponentRefSchema, newHrefSchema, newTypeSchema, removeReadOnlyPropertiespublic void run(io.inversion.Request req,
io.inversion.Response res)
throws io.inversion.ApiException
run in class io.inversion.Action<RedisAction>io.inversion.ApiExceptionCopyright © 2023 Rocket Partners, LLC. All rights reserved.