Tsz-wo Sze created HDDS-16334:
---------------------------------
Summary: The maps in XceiverClientShortCircuit should not use
String as key
Key: HDDS-16334
URL: https://issues.apache.org/jira/browse/HDDS-16334
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Client
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
{code}
private final Map<String, FileInputStream> blockStreamCache;
private final Map<String, RequestEntry> sentRequests;
{code}
The above two maps use String as key by converting long/ByteString. It is more
efficient to use long/ByteString directly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]