You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/05/14 05:11:00 UTC

[jira] [Created] (HDDS-5227) Have a generic class for FailOverProxyProvider for SCM

Bharat Viswanadham created HDDS-5227:
----------------------------------------

             Summary: Have a generic class for FailOverProxyProvider for SCM
                 Key: HDDS-5227
                 URL: https://issues.apache.org/jira/browse/HDDS-5227
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Bharat Viswanadham
            Assignee: Bharat Viswanadham


Now for SCM we have 3 failOverProxyProviders
SCMBlockLocationFailoverProxyProvider
SCMContainerLocationFailoverProxyProvider
SCMSecurityProtocolFailoverProxyProvider

We can use Java Generics and have a single class for failOverrProxyProvider. As of right now most of the code is duplicated among these classes. This will help in code duplication and better maintainability in future.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org