Skip to content

Commit

Permalink
Cleanup SampledStat
Browse files Browse the repository at this point in the history
  • Loading branch information
emitskevich committed May 16, 2024
1 parent 6163f66 commit d74400f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ public void reset(long now) {
public boolean isComplete(long timeMs, MetricConfig config) {
return timeMs - startTimeMs >= config.timeWindowMs() || eventCount >= config.eventWindow();
}

public long endTimeMs(MetricConfig config) {
return startTimeMs + config.timeWindowMs();
}

@Override
public String toString() {
Expand Down

0 comments on commit d74400f

Please sign in to comment.