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

RESP endpoint should be able to parse commands as enum

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: