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

Tsz-wo Sze updated HDDS-11556:
------------------------------
    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.
{code}
  /** @return the class of the {@link T}. */
  Class<T> getTypeClass();
{code}

  was:
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.
{code}
  /** @return the class of the {@link T}. */
  Class<T> getTypeClass();
{code}


> Add a getTypeClass method to Codec
> ----------------------------------
>
>                 Key: HDDS-11556
>                 URL: https://issues.apache.org/jira/browse/HDDS-11556
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: db
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> 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.
> {code}
>   /** @return the class of the {@link T}. */
>   Class<T> getTypeClass();
> {code}



--
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