Class MetricsRepository.EmptyMetricsRepository
java.lang.Object
io.agroal.pool.MetricsRepository.EmptyMetricsRepository
- All Implemented Interfaces:
io.agroal.api.AgroalDataSourceMetrics, MetricsRepository
- Enclosing interface:
MetricsRepository
public static final class MetricsRepository.EmptyMetricsRepository
extends Object
implements MetricsRepository
- Author:
- Luis Barreiro
-
Nested Class Summary
Nested classes/interfaces inherited from interface MetricsRepository
MetricsRepository.EmptyMetricsRepository -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHint to the pool that it doesn't need to collect statisticstoString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.agroal.api.AgroalDataSourceMetrics
acquireCount, activeCount, availableCount, awaitingCount, blockingTimeAverage, blockingTimeMax, blockingTimeTotal, creationCount, creationTimeAverage, creationTimeMax, creationTimeTotal, destroyCount, flushCount, heldCount, invalidCount, leakDetectionCount, maxUsedCount, reapCount, reset
-
Constructor Details
-
EmptyMetricsRepository
public EmptyMetricsRepository()
-
-
Method Details
-
toString
-
collectPoolMetrics
public boolean collectPoolMetrics()Description copied from interface:MetricsRepositoryHint to the pool that it doesn't need to collect statistics- Specified by:
collectPoolMetricsin interfaceMetricsRepository
-