You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2026/07/31 18:45:00 UTC

[jira] [Created] (HDDS-16059) Optimize varargs in IOzoneManagerLock

Tsz-wo Sze created HDDS-16059:
---------------------------------

             Summary: Optimize varargs in IOzoneManagerLock
                 Key: HDDS-16059
                 URL: https://issues.apache.org/jira/browse/HDDS-16059
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: OM
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


A standard optimization is to override the methods with fixed parameter number.  For example, see the info(..) methods in https://www.slf4j.org/apidocs/org/slf4j/Logger.html

In IOzoneManagerLock, since most cases only have one or two keys, we will override it with one parameter and two parameters.



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

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