Interface IMetricsTracker

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    MetricsTracker

    public interface IMetricsTracker
    extends java.lang.AutoCloseable
    Author:
    Brett Wooldridge
    • Method Detail

      • recordConnectionCreatedMillis

        default void recordConnectionCreatedMillis(long connectionCreatedMillis)
      • recordConnectionAcquiredNanos

        default void recordConnectionAcquiredNanos(long elapsedAcquiredNanos)
      • recordConnectionUsageMillis

        default void recordConnectionUsageMillis(long elapsedBorrowedMillis)
      • recordConnectionTimeout

        default void recordConnectionTimeout()
      • close

        default void close()
        Specified by:
        close in interface java.lang.AutoCloseable