Package oracle.jdbc.diagnostics
Class MetricsImpl
- java.lang.Object
-
- oracle.jdbc.diagnostics.Metrics
-
- oracle.jdbc.diagnostics.MetricsImpl
-
public class MetricsImpl extends Metrics
Metrics collected by the JDBC driver.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class oracle.jdbc.diagnostics.Metrics
Metrics.ConnectionEvent, Metrics.MetricReport
-
-
Constructor Summary
Constructors Constructor Description MetricsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin(Metrics.ConnectionEvent event)All begin and end calls are noop in this class because this class is instantiated when metrics capturing is disabled.voidclose()The map events and metrics is added to the collection.voidend(Metrics.ConnectionEvent event)
-
-
-
Method Detail
-
begin
public void begin(Metrics.ConnectionEvent event)
Description copied from class:MetricsAll begin and end calls are noop in this class because this class is instantiated when metrics capturing is disabled. The subclass of this is instantiated when metrics capturing is enabled. This is to avoid 'is capturing metrics enabled' checks in begin and end methods.
-
end
public void end(Metrics.ConnectionEvent event)
-
-