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

com.rapleaf.jack.transaction.MockDbMetrics Maven / Gradle / Ivy

There is a newer version: 1.8
Show newest version
package com.rapleaf.jack.transaction;

public class MockDbMetrics implements DbMetrics {
  @Override
  public long getTotalQueries() {
    return 0;
  }

  @Override
  public long getCreatedConnectionsCount() {
    return 0;
  }

  @Override
  public double getMaxCapacityProportion() {
    return 0;
  }

  @Override
  public long getMaxConnectionWaitingTime() {
    return 0;
  }

  @Override
  public double getAverageConnectionWaitingTime() {
    return 0;
  }

  @Override
  public double getAverageIdleConnections() {
    return 0;
  }

  @Override
  public double getAverageActiveConnections() {
    return 0;
  }

  @Override
  public long getLifeTime() {
    return 0;
  }

  @Override
  public String getSummary() {
    return "Mock db metrics";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy