]
Galder Zamarreño updated ISPN-7233:
-----------------------------------
Status: Open (was: New)
Simplify Hot Rod server operation dispatching
---------------------------------------------
Key: ISPN-7233
URL:
https://issues.jboss.org/browse/ISPN-7233
Project: Infinispan
Issue Type: Task
Components: Server
Affects Versions: 9.0.0.Alpha4
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.0.0.Beta1
The Hot Rod server decoder/encoder use cumbersome switch and cascading if/then/else
statements to dispatch the various commands.
The decoder should use a quick array lookup based on the incoming opcode.
The encoder should use a table switch to perform the correct operation.
Avoid using polymorphism which loses inlining