DomGarguilo opened a new pull request, #4924:
URL: https://github.com/apache/accumulo/pull/4924
In this PR
* refactored FateMetrics to use an EnumMap for TStatus metric counters
* this allows us to avoid coverting to/from strings for the TStatuses
* we can simplify the code to loop through this map when updating or
constructing these metrics
* refactored the map of `txStateCounters` in `FateMetricValues` to use an
EnumMap as well. `FateMetrics` is the only spot where this map is retrieved so
we simplify converting to/from Strings there too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]