Skip to content

Commit 46f5770

Browse files
committed
Remove lettuce as we will want to use the generated one moving forward
1 parent 8a2cf2a commit 46f5770

File tree

2 files changed

+2
-239
lines changed

2 files changed

+2
-239
lines changed

resp-decoder/src/main/java/org/infinispan/server/resp/NettyChannelState.java

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@
1010

1111
@State(Scope.Benchmark)
1212
public class NettyChannelState {
13-
public enum DECODER {
14-
LETTUCE,
15-
GENERATED
16-
}
17-
18-
@Param
19-
public GetSetState.DECODER decoderToUse;
20-
2113
public EmbeddedChannel channel;
2214

2315
@Setup
@@ -28,15 +20,7 @@ public void initializeState() {
2820

2921
OurRespHandler ourRespHandler = new OurRespHandler();
3022

31-
switch (decoderToUse) {
32-
case LETTUCE:
33-
channel.pipeline()
34-
.addLast(new RespLettuceHandler(ourRespHandler));
35-
break;
36-
case GENERATED:
37-
channel.pipeline()
38-
.addLast(new RespDecoder(ourRespHandler));
39-
break;
40-
}
23+
channel.pipeline()
24+
.addLast(new RespDecoder(ourRespHandler));
4125
}
4226
}

resp-decoder/src/main/java/org/infinispan/server/resp/RespLettuceHandler.java

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)