@@ -280,6 +280,11 @@ public Response<String> get(String key) {
280280 return appendCommand (commandObjects .get (key ));
281281 }
282282
283+ @ Override
284+ public Response <String > setGet (String key , String value ) {
285+ return appendCommand (commandObjects .setGet (key , value ));
286+ }
287+
283288 @ Override
284289 public Response <String > setGet (String key , String value , SetParams params ) {
285290 return appendCommand (commandObjects .setGet (key , value , params ));
@@ -315,6 +320,10 @@ public Response<String> getrange(String key, long startOffset, long endOffset) {
315320 return appendCommand (commandObjects .getrange (key , startOffset , endOffset ));
316321 }
317322
323+ /**
324+ * @deprecated Use {@link PipeliningBase#setGet(java.lang.String, java.lang.String)}.
325+ */
326+ @ Deprecated
318327 @ Override
319328 public Response <String > getSet (String key , String value ) {
320329 return appendCommand (commandObjects .getSet (key , value ));
@@ -3114,6 +3123,11 @@ public Response<byte[]> get(byte[] key) {
31143123 return appendCommand (commandObjects .get (key ));
31153124 }
31163125
3126+ @ Override
3127+ public Response <byte []> setGet (byte [] key , byte [] value ) {
3128+ return appendCommand (commandObjects .setGet (key , value ));
3129+ }
3130+
31173131 @ Override
31183132 public Response <byte []> setGet (byte [] key , byte [] value , SetParams params ) {
31193133 return appendCommand (commandObjects .setGet (key , value , params ));
@@ -3149,6 +3163,10 @@ public Response<byte[]> getrange(byte[] key, long startOffset, long endOffset) {
31493163 return appendCommand (commandObjects .getrange (key , startOffset , endOffset ));
31503164 }
31513165
3166+ /**
3167+ * @deprecated Use {@link PipeliningBase#setGet(byte[], byte[])}.
3168+ */
3169+ @ Deprecated
31523170 @ Override
31533171 public Response <byte []> getSet (byte [] key , byte [] value ) {
31543172 return appendCommand (commandObjects .getSet (key , value ));
0 commit comments