[ 
https://issues.apache.org/jira/browse/HDDS-14740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated HDDS-14740:
------------------------------
    Description: 
Similar to HDDS-14647, we should
# find out all the proto classes T which are passing as parameter List<T> ,
# change ScmListCodec to support generic type, and
# add a ScmListCodec for each proto class.

If there are many proto classes required, we may consider adding the codec 
dynamically, i.e. use reflection or other method to add the codec when it is 
required the first time.

  was:
Similar to HDDS-14647, we should
# find out all the proto classes T which are passing as parameter List<T> ,
# change ScmListCodec to support generic type, and
# add a ScmListCodec for each proto class.


> Implement ScmListCodec without reflection.
> ------------------------------------------
>
>                 Key: HDDS-14740
>                 URL: https://issues.apache.org/jira/browse/HDDS-14740
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM HA
>            Reporter: Tsz-wo Sze
>            Assignee: Chen-Jheng Sing
>            Priority: Major
>
> Similar to HDDS-14647, we should
> # find out all the proto classes T which are passing as parameter List<T> ,
> # change ScmListCodec to support generic type, and
> # add a ScmListCodec for each proto class.
> If there are many proto classes required, we may consider adding the codec 
> dynamically, i.e. use reflection or other method to add the codec when it is 
> required the first time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to