MCPcopy Index your code
hub / github.com/dsyer/reactive-notes / add

Method add

gather/src/main/java/com/example/DemoApplication.java:117–121  ·  view source on GitHub ↗
(HttpStatus status)

Source from the content-addressed store, hash-verified

115 private long duration;
116
117 public long add(HttpStatus status) {
118 AtomicLong value = this.counts.getOrDefault(status, new AtomicLong());
119 this.counts.putIfAbsent(status, value);
120 return value.incrementAndGet();
121 }
122
123 public void stop() {
124 this.duration = System.currentTimeMillis() - this.timestamp;

Callers 1

pageMethod · 0.45

Calls

no outgoing calls

Tested by 1

pageMethod · 0.36