-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the "overload" as non-precision timestamp isn't useful in the intended context
- Loading branch information
Showing
5 changed files
with
169 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"MGETPXT": { | ||
"summary": "Atomically returns the string values of one or more keys and their millisecond expiration, if available.", | ||
"complexity": "O(N) where N is the number of keys to retrieve.", | ||
"group": "string", | ||
"since": "1.0.0", | ||
"arity": -2, | ||
"function": "mgetpxtCommand", | ||
"command_flags": [ | ||
"READONLY", | ||
"FAST" | ||
], | ||
"acl_categories": [ | ||
"STRING", | ||
"KEYSPACE" | ||
], | ||
"command_tips": [ | ||
"REQUEST_POLICY:MULTI_SHARD" | ||
], | ||
"key_specs": [ | ||
{ | ||
"flags": [ | ||
"RO", | ||
"ACCESS" | ||
], | ||
"begin_search": { | ||
"index": { | ||
"pos": 1 | ||
} | ||
}, | ||
"find_keys": { | ||
"range": { | ||
"lastkey": -1, | ||
"step": 1, | ||
"limit": 0 | ||
} | ||
} | ||
} | ||
], | ||
"reply_schema": { | ||
"description": "List of values at the specified keys.", | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "array", | ||
"minItems": 2, | ||
"maxItems": 2, | ||
"items": [ | ||
{ | ||
"description": "The value of the key.", | ||
"type": "string" | ||
}, | ||
{ | ||
"oneOf": [ | ||
{ | ||
"type": "integer", | ||
"description": "Expiration Unix timestamp in milliseconds.", | ||
"minimum": 0 | ||
}, | ||
{ | ||
"const": -1, | ||
"description": "The key exists but has no associated expiration time." | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
} | ||
}, | ||
"arguments": [ | ||
{ | ||
"name": "key", | ||
"type": "key", | ||
"key_spec_index": 0, | ||
"multiple": true | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters