Skip to content

Commit

Permalink
Made HystrixCommandMetrics.getHealthCounts() final
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jacobs committed Jul 28, 2015
1 parent e1b0db0 commit 795e937
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,7 @@ public HystrixCommandProperties getProperties() {
*
* @return {@link HealthCounts}
*/
//TODO Should this be final?
public HealthCounts getHealthCounts() {
public final HealthCounts getHealthCounts() {
// we put an interval between snapshots so high-volume commands don't
// spend too much unnecessary time calculating metrics in very small time periods
long lastTime = lastHealthCountsSnapshot.get();
Expand Down

0 comments on commit 795e937

Please sign in to comment.