| Modifier and Type | Field and Description |
|---|---|
| pack-priv final io. | |
| pack-priv final io. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static io. | |
| public void | dispose()
Implements reactor. |
| public void | recordAllocationFailureAndLatency(long
the latency in milliseconds latencyMs)Implements reactor. |
| public void | recordAllocationSuccessAndLatency(long
the latency in milliseconds latencyMs)Implements reactor. |
| public void | recordDestroyLatency(long
the latency in milliseconds latencyMs)Implements reactor. |
| public void | recordFastPath()
Implements reactor. Pool has a fast path of recycling and just used it.
|
| public void | recordIdleTime(long
the number of milliseconds an object that was just acquired had previously been idle millisecondsIdle)Implements reactor. |
| public void | recordLifetimeDuration(long
the number of milliseconds since the object was allocated, at the time it is destroyed millisecondsSinceAllocation)Implements reactor. |
| public void | recordPendingFailureAndLatency(long
the latency in milliseconds latencyMs)Overrides default reactor. |
| public void | recordPendingSuccessAndLatency(long
the latency in milliseconds latencyMs)Overrides default reactor. |
| public void | recordRecycled()
Implements reactor. |
| public void | recordResetLatency(long
the latency in milliseconds latencyMs)Implements reactor. |
| public void | recordSlowPath()
Implements reactor. Pool has a slow path of recycling and just used it.
|
| pendingErrorTimer | back to summary |
|---|---|
| pack-priv final io. | |
| pendingSuccessTimer | back to summary |
|---|---|
| pack-priv final io. | |
| MicrometerPoolMetricsRecorder | back to summary |
|---|---|
| pack-priv MicrometerPoolMetricsRecorder(String id, String poolName, SocketAddress remoteAddress) | |
| buildTimer | back to summary |
|---|---|
| pack-priv static io. | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| recordAllocationFailureAndLatency | back to summary |
|---|---|
| public void recordAllocationFailureAndLatency(long latencyMs) Implements reactor. Doc from reactor. Record a latency for failed allocation. Implies incrementing an allocation failure counter as well.
| |
| recordAllocationSuccessAndLatency | back to summary |
|---|---|
| public void recordAllocationSuccessAndLatency(long latencyMs) Implements reactor. Doc from reactor. Record a latency for successful allocation. Implies incrementing an allocation success counter as well.
| |
| recordDestroyLatency | back to summary |
|---|---|
| public void recordDestroyLatency(long latencyMs) Implements reactor. Doc from reactor. Record a latency for destroying a resource. Implies incrementing a counter as well.
| |
| recordFastPath | back to summary |
|---|---|
| public void recordFastPath() Implements reactor. Doc from reactor. Record the fact that a
| |
| recordIdleTime | back to summary |
|---|---|
| public void recordIdleTime(long millisecondsIdle) Implements reactor. Doc from reactor. Record the number of milliseconds an object had been idle when it gets pulled from the pool and passed to a borrower.
| |
| recordLifetimeDuration | back to summary |
|---|---|
| public void recordLifetimeDuration(long millisecondsSinceAllocation) Implements reactor. Doc from reactor. Record the number of milliseconds a pooled object has been live (ie time between allocation and destruction).
| |
| recordPendingFailureAndLatency | back to summary |
|---|---|
| public void recordPendingFailureAndLatency(long latencyMs) Overrides default reactor. Doc from reactor. Record a latency for failed pending acquire.
A failed pending acquire operation is such that finishes with
| |
| recordPendingSuccessAndLatency | back to summary |
|---|---|
| public void recordPendingSuccessAndLatency(long latencyMs) Overrides default reactor. Doc from reactor. Record a latency for successful pending acquire operation. A successful pending acquire operation is such that triggers an allocation operation. Implies incrementing a pending acquire success counter as well.
| |
| recordRecycled | back to summary |
|---|---|
| public void recordRecycled() Implements reactor. Doc from reactor. Record the fact that a resource was recycled, ie it was reset and tested for reuse.
| |
| recordResetLatency | back to summary |
|---|---|
| public void recordResetLatency(long latencyMs) Implements reactor. Doc from reactor. Record a latency for resetting a resource to a reusable state. Implies incrementing a counter as well.
| |
| recordSlowPath | back to summary |
|---|---|
| public void recordSlowPath() Implements reactor. Doc from reactor. Record the fact that a
| |