Package io.quarkus.redis.runtime.client
Interface ObservableRedisMetrics
-
public interface ObservableRedisMetrics
-
-
Field Summary
Fields Modifier and Type Field Description static ObservableRedisMetrics
NOOP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
report(String name, long durationInNs, boolean succeeded)
Method called by theObservableRedis
after every operation.
-
-
-
Field Detail
-
NOOP
static final ObservableRedisMetrics NOOP
-
-
Method Detail
-
report
void report(String name, long durationInNs, boolean succeeded)
Method called by theObservableRedis
after every operation.- Parameters:
name
- the client namedurationInNs
- the duration of the operation in ns, it can represent the execution of a single command or a batch.succeeded
- whether the operation succeeded
-
-