public class MetricsTracker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsTracker.MetricsContext
A base instance of a MetricsContext.
|
| Modifier and Type | Field and Description |
|---|---|
static MetricsTracker.MetricsContext |
NO_CONTEXT |
| Constructor and Description |
|---|
MetricsTracker(BaseHikariPool pool) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
MetricsTracker.MetricsContext |
recordConnectionRequest(long requestTime) |
void |
recordConnectionUsage(PoolBagEntry bagEntry) |
public static final MetricsTracker.MetricsContext NO_CONTEXT
public MetricsTracker(BaseHikariPool pool)
public MetricsTracker.MetricsContext recordConnectionRequest(long requestTime)
public void recordConnectionUsage(PoolBagEntry bagEntry)
public void close()
Copyright © 2016 Zaxxer.com. All Rights Reserved.