Skip to content

Commit

Permalink
Cleanup Javadoc for HystrixCommandMetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jacobs committed Jul 30, 2015
1 parent 17d37e6 commit dfb2be6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ public long getRollingMaxConcurrentExecutions() {

/**
* Retrieve a snapshot of total requests, error count and error percentage.
*
* Marked final so that concrete implementation may vary how to implement {@link #getRollingCount(HystrixRollingNumberEvent)}
* and the health check (used for opening a {@link HystrixCircuitBreaker} is constant
*
* @return {@link HealthCounts}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ protected void updateRollingMax(HystrixRollingNumberEvent event, long value) {
counter.updateRollingMax(event, value);
}

public long getRollingMaxConcurrentExecutions() {
return counter.getRollingMaxValue(HystrixRollingNumberEvent.COMMAND_MAX_ACTIVE);
}

/**
* Execution time of {@link HystrixCommand#run()}.
*/
Expand Down

0 comments on commit dfb2be6

Please sign in to comment.