Skip to content

Commit 3d19788

Browse files
committed
Remove unused method from Monitor.java
PR apache#5108 removed the graphs from the monitor. A lot of supporting code was able to be removed too. This commit removes one of those methods that was left out of the initial PR.
1 parent 970af35 commit 3d19788

File tree

1 file changed

+0
-12
lines changed
  • server/monitor/src/main/java/org/apache/accumulo/monitor

1 file changed

+0
-12
lines changed

server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java

-12
Original file line numberDiff line numberDiff line change
@@ -201,18 +201,6 @@ synchronized double calculateRate() {
201201
return totalRate;
202202
}
203203

204-
synchronized long calculateCount() {
205-
long count = 0;
206-
207-
for (Entry<String,Pair<Long,Long>> entry : prevSamples.entrySet()) {
208-
Pair<Long,Long> prevSample = entry.getValue();
209-
Pair<Long,Long> sample = samples.get(entry.getKey());
210-
211-
count += sample.getSecond() - prevSample.getSecond();
212-
}
213-
214-
return count;
215-
}
216204
}
217205

218206
public void fetchData() {

0 commit comments

Comments
 (0)