All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.avaje.datasource.PoolStatistics Maven / Gradle / Ivy

There is a newer version: 4.1
Show newest version
package org.avaje.datasource;

/**
 * Execution statistics from the DataSourcePool.
 */
public interface PoolStatistics {

  /**
   * Return the epoch millis when these statistics start from.
   */
  long getCollectionStart();

  /**
   * Return the hit count against the pool.
   */
  long getCount();

  /**
   * Return the error count against the pool.
   */
  long getErrorCount();

  /**
   * Return the high water mark for connection use in micros.
   */
  long getHwmMicros();

  /**
   * Return the total connection use in micros.
   */
  long getTotalMicros();

  /**
   * Return the average connection use in micros.
   */
  long getAvgMicros();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy