You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2020/01/11 16:16:00 UTC
[jira] [Created] (ZOOKEEPER-3693) Use Map computeIfAbsent in
AvgMinMaxCounterSet Class
David Mollitor created ZOOKEEPER-3693:
-----------------------------------------
Summary: Use Map computeIfAbsent in AvgMinMaxCounterSet Class
Key: ZOOKEEPER-3693
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3693
Project: ZooKeeper
Issue Type: Improvement
Reporter: David Mollitor
Assignee: David Mollitor
https://github.com/apache/zookeeper/blob/27b92caefd57a60309af06ebce29e56954ca9aac/zookeeper-server/src/main/java/org/apache/zookeeper/server/metric/AvgMinMaxCounterSet.java#L41
More concise to use JDK facilities for this operation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)