Tsz-wo Sze created HDDS-16516:
---------------------------------
Summary: Simplify XceiverClientShortCircuit code for HDDS-16335
Key: HDDS-16516
URL: https://issues.apache.org/jira/browse/HDDS-16516
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Client
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
We may simplify XceiverClientShortCircuit in order to support concurrent access:
- Add a name field and do not use domainSocket for printing messages.
- Refactor timer to an inner class and make all method synchronized.
- Change requestSent and responseReceived to AtomicLong -- they are just for
printing debug messages.
- Remove RequestEntry.sentTimeNs which is just for printing messages. Print it
in a different location.
- Convert prefix to a local variable.
- Remove the unused config.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]