public class DatabaseConnectionPoolInProductDiagnosticJob extends Object implements com.atlassian.diagnostics.ipd.internal.spi.IpdJob
Constructor and Description |
---|
DatabaseConnectionPoolInProductDiagnosticJob(DatabaseConnectionStateService databaseConnectionStateService,
com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner inProductDiagnosticScheduler) |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.diagnostics.ipd.internal.spi.IpdMeasurement> |
measure()
Gather number of active and idle connections at once to keep the values synchronized.
|
public DatabaseConnectionPoolInProductDiagnosticJob(DatabaseConnectionStateService databaseConnectionStateService, com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner inProductDiagnosticScheduler)
@Nonnull public List<com.atlassian.diagnostics.ipd.internal.spi.IpdMeasurement> measure()
measure
in interface com.atlassian.diagnostics.ipd.internal.spi.IpdJob
-1
when there's no connection to the database.Copyright © 2002-2023 Atlassian. All Rights Reserved.