Package io.vertx.core.spi.metrics
Interface PoolMetrics<Q,T>
-
-
Field Summary
-
Fields inherited from interface io.vertx.core.spi.metrics.Metrics
METRICS_ENABLED
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Tbegin()Signal the beginning of the utilisation of a pool resource.default voiddequeue(Q queueMetric)Signals the request was removed from the queue.default voidend(T t)Signal the release of a pool resource.default Qenqueue()Signals a request is enqueued to obtain a resource.
-
-
-
Method Detail
-
enqueue
default Q enqueue()
Signals a request is enqueued to obtain a resource.
-
dequeue
default void dequeue(Q queueMetric)
Signals the request was removed from the queue.
-
begin
default T begin()
Signal the beginning of the utilisation of a pool resource.- Returns:
- the timer measuring the resource utilisation
-
-