@@ -349,6 +349,11 @@ public Response<Long> msetnx(String... keysvalues) {
349349 return appendCommand (commandObjects .msetnx (keysvalues ));
350350 }
351351
352+ @ Override
353+ public Response <Boolean > msetex (MSetExParams params , String ... keysvalues ) {
354+ return appendCommand (commandObjects .msetex (params , keysvalues ));
355+ }
356+
352357 @ Override
353358 public Response <Long > incr (String key ) {
354359 return appendCommand (commandObjects .incr (key ));
@@ -630,13 +635,13 @@ public Response<Long> hset(String key, Map<String, String> hash) {
630635 * and optionally set their expiration. Use `HSetExParams` object to specify expiration parameters.
631636 * This command can overwrite any existing fields in the hash.
632637 * If key does not exist, a new key holding a hash is created.
633- *
638+ *
634639 * @param key the key of the hash
635640 * @param params additional parameters for the HSETEX command
636641 * @param field the field in the hash to set
637642 * @param value the value to set in the specified field
638- * @return 0 if no fields were set, 1 if all the fields were set
639- *
643+ * @return 0 if no fields were set, 1 if all the fields were set
644+ *
640645 * @see HSetExParams
641646 */
642647 @ Override
@@ -649,12 +654,12 @@ public Response<Long> hsetex(String key, HSetExParams params, String field, Stri
649654 * and optionally set their expiration. Use `HSetExParams` object to specify expiration parameters.
650655 * This command can overwrite any existing fields in the hash.
651656 * If key does not exist, a new key holding a hash is created.
652- *
657+ *
653658 * @param key the key of the hash
654659 * @param params the parameters for the HSetEx command
655660 * @param hash the map containing field-value pairs to set in the hash
656- * @return 0 if no fields were set, 1 if all the fields were set
657- *
661+ * @return 0 if no fields were set, 1 if all the fields were set
662+ *
658663 * @see HSetExParams
659664 */
660665 @ Override
@@ -668,14 +673,14 @@ public Response<String> hget(String key, String field) {
668673 }
669674
670675 /**
671- * Retrieves the values associated with the specified fields in a hash stored at the given key
676+ * Retrieves the values associated with the specified fields in a hash stored at the given key
672677 * and optionally sets their expiration. Use `HGetExParams` object to specify expiration parameters.
673678 *
674679 * @param key the key of the hash
675680 * @param params additional parameters for the HGETEX command
676681 * @param fields the fields whose values are to be retrieved
677682 * @return a list of the value associated with each field or nil if the field doesn’t exist.
678- *
683+ *
679684 * @see HGetExParams
680685 */
681686 @ Override
@@ -2062,13 +2067,13 @@ public Response<Long> hset(byte[] key, Map<byte[], byte[]> hash) {
20622067 * and optionally set their expiration. Use `HSetExParams` object to specify expiration parameters.
20632068 * This command can overwrite any existing fields in the hash.
20642069 * If key does not exist, a new key holding a hash is created.
2065- *
2070+ *
20662071 * @param key the key of the hash
20672072 * @param params the parameters for the HSetEx command
20682073 * @param field the field in the hash to set
20692074 * @param value the value to set in the specified field
2070- * @return 0 if no fields were set, 1 if all the fields were set
2071- *
2075+ * @return 0 if no fields were set, 1 if all the fields were set
2076+ *
20722077 * @see HSetExParams
20732078 */
20742079 @ Override
@@ -2081,12 +2086,12 @@ public Response<Long> hsetex(byte[] key, HSetExParams params, byte[] field, byte
20812086 * and optionally set their expiration. Use `HSetExParams` object to specify expiration parameters.
20822087 * This command can overwrite any existing fields in the hash.
20832088 * If key does not exist, a new key holding a hash is created.
2084- *
2089+ *
20852090 * @param key the key of the hash
20862091 * @param params the parameters for the HSetEx command
20872092 * @param hash the map containing field-value pairs to set in the hash
2088- * @return 0 if no fields were set, 1 if all the fields were set
2089- *
2093+ * @return 0 if no fields were set, 1 if all the fields were set
2094+ *
20902095 * @see HSetExParams
20912096 */
20922097 @ Override
@@ -2098,16 +2103,16 @@ public Response<Long> hsetex(byte[] key, HSetExParams params, Map<byte[], byte[]
20982103 public Response <byte []> hget (byte [] key , byte [] field ) {
20992104 return appendCommand (commandObjects .hget (key , field ));
21002105 }
2101-
2106+
21022107 /**
2103- * Retrieves the values associated with the specified fields in a hash stored at the given key
2108+ * Retrieves the values associated with the specified fields in a hash stored at the given key
21042109 * and optionally sets their expiration. Use `HGetExParams` object to specify expiration parameters.
21052110 *
21062111 * @param key the key of the hash
21072112 * @param params additional parameters for the HGETEX command
21082113 * @param fields the fields whose values are to be retrieved
21092114 * @return a list of the value associated with each field or nil if the field doesn’t exist.
2110- *
2115+ *
21112116 * @see HGetExParams
21122117 */
21132118 @ Override
@@ -3538,6 +3543,11 @@ public Response<String> mset(byte[]... keysvalues) {
35383543 return appendCommand (commandObjects .mset (keysvalues ));
35393544 }
35403545
3546+ @ Override
3547+ public Response <Boolean > msetex (MSetExParams params , byte []... keysvalues ) {
3548+ return appendCommand (commandObjects .msetex (params , keysvalues ));
3549+ }
3550+
35413551 @ Override
35423552 public Response <Long > msetnx (byte []... keysvalues ) {
35433553 return appendCommand (commandObjects .msetnx (keysvalues ));
0 commit comments