GETEXRead a key and set its expiry in the same call.
| 構文 | GETEX key [EX seconds | PX milliseconds] |
| グループ | string |
| 引数の数 | -2 |
| 導入バージョン | 1.0.0 |
| フラグ | write |
| 計算量 | O(1) |
| Redis 互換性 | differs: EXAT / PXAT / PERSIST are not accepted, and an expiry of zero or less is refused rather than applied |