@ -51,9 +51,11 @@ public class State {
return batchIndex;
}
@Deprecated
public <T extends DecoderState> T getDecoderState() {
return (T) decoderState;
public void setDecoderState(DecoderState decoderState) {
this.decoderState = decoderState;
@ -20,6 +20,7 @@ package org.redisson.client.protocol.decoder;
* @author Nikita Koksharov
*
*/
public interface DecoderState {
DecoderState copy();
@ -26,6 +26,7 @@ import org.redisson.client.protocol.Decoder;
public class LongMultiDecoder implements MultiDecoder<Object> {
@Override