Skip to content

Commit

Permalink
update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
m-nagarajan committed Sep 12, 2024
1 parent a69ea35 commit d818de7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
/**
* Simple version of {@link SampledCount}, this aggregates counts as a single sample and gets reset to 0 every time it is measured.
* The sample window is just the time between measurements unlike SampledCount which can be defined by number of events or elapsed time.
* Also, useful to count the number of occurrences of an event and not have to keep track of the previous measurement to calculate the delta.
* Measure every second to get count per second.
* Measure every minute to get count per minute.
* Measure adhoc to get the delta count since the last measurement.
*/
public class SimpleSampledCount extends Count {
public SimpleSampledCount() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
/**
* Simple version of {@link SampledTotal}, this aggregates total as a single sample and gets reset to 0 every time it is measured.
* The sample window is just the time between measurements unlike SampledTotal which can be defined by number of events or elapsed time.
* Also, useful to get the total of an event and not have to keep track of the previous measurement to calculate the delta.
* Measure every second to get total per second.
* Measure every minute to get total per minute.
* Measure adhoc to get the delta total since the last measurement.
*/
public class SimpleSampledTotal extends Total {
public SimpleSampledTotal() {
Expand Down

0 comments on commit d818de7

Please sign in to comment.