public class EventCounter extends Object
Instances are created via builder(io.micrometer.core.instrument.MeterRegistry, java.lang.String).
| Modifier and Type | Class and Description |
|---|---|
static class |
EventCounter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EventCounter.Builder |
builder(io.micrometer.core.instrument.MeterRegistry registry,
String name) |
void |
increment()
Increments the event count.
|
void |
increment(long amount)
Increases the event count by the given amount
|
public static EventCounter.Builder builder(io.micrometer.core.instrument.MeterRegistry registry, String name)
public void increment()
public void increment(long amount)
Copyright © 2021 Couchbase, Inc.. All rights reserved.