public class MetricsTracker extends Object implements AutoCloseable
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() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
MetricsTracker.MetricsContext |
recordConnectionRequest() |
void |
recordConnectionUsage(PoolBagEntry bagEntry) |
public static final MetricsTracker.MetricsContext NO_CONTEXT
public MetricsTracker.MetricsContext recordConnectionRequest()
public void recordConnectionUsage(PoolBagEntry bagEntry)
public void close()
close
in interface AutoCloseable
Copyright © 2016 Zaxxer.com. All rights reserved.