Tsz-wo Sze created HDDS-15022:
---------------------------------
Summary: Add a getApiClasses() method to ScmInvoker
Key: HDDS-15022
URL: https://issues.apache.org/jira/browse/HDDS-15022
Project: Apache Ozone
Issue Type: Sub-task
Components: SCM
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
We propose to add the new method below to return all the classes used in the
parameter types and the return type of an API. Then, we can avoid class lookup
at runtime.
{code:java}
// ScmInvoker
public abstract Iterable<Class<?>> getApiClasses();
{code}
Note that the implementation of it can be easily generated by
ScmInvokerCodeGenerator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]