Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11556

Add a getTypeClass method to Codec

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • db

    Description

      Each Codec<T> corresponds to a specific type T. It is useful to add the following method to Codec. Then, the DB definition code be simplified; see HDDS-11557.

        /** @return the class of the {@link T}. */
        Class<T> getTypeClass();
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: