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: [email protected]
For additional commands, e-mail: [email protected]