Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14720

RESP endpoint should be able to parse commands as enum

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 14.0.8.Final, 15.0.0.Final
    • None
    • RESP
    • None

      The RESP endpoint currently parses a command name as a byte[] and then converts to a String. This is as optimized as we can get by doing this method. It should be possible to do this parsing without allocating a byte[] or String but instead by having an enum of possible commands and checking if any match.

      By adding an enum for each command, we can add additional parsing logic that can be done in the parser as needed as well.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: