Skip to content

Commit

Permalink
Add Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 14, 2025
1 parent cc4f438 commit 041d1bb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ public void globalCount(String meterName, long count) {
}
}

/**
* Execute the runnable and record its runtime in the meter name passed in.
*/
public void recordTimer(String meterName, Runnable runnable) {
if (uploadRegistry != null) {
registry.add(uploadRegistry);
Expand Down

0 comments on commit 041d1bb

Please sign in to comment.