Class DatabaseConnectionPoolIpdJob

  • All Implemented Interfaces:
    com.atlassian.diagnostics.ipd.internal.spi.IpdJob

    public class DatabaseConnectionPoolIpdJob
    extends Object
    implements com.atlassian.diagnostics.ipd.internal.spi.IpdJob
    IPD Job measuring active and idle connections in database. These metrics should add up to a total number of connections in database pool, however this is not guaranteed. Metrics will have value -1 when database is disconnected.
    Since:
    8.1.0
    • Constructor Detail

      • DatabaseConnectionPoolIpdJob

        public DatabaseConnectionPoolIpdJob​(com.atlassian.diagnostics.ipd.internal.spi.IpdJobRunner ipdJobRunner,
                                            DatabaseConnectionStateService databaseConnectionStateService,
                                            com.atlassian.diagnostics.internal.platform.monitor.db.DatabasePoolDiagnosticProvider databasePoolDiagnosticProvider,
                                            com.atlassian.diagnostics.internal.ipd.IpdMainRegistry ipdMainRegistry)
    • Method Detail

      • runJob

        public void runJob()
        Specified by:
        runJob in interface com.atlassian.diagnostics.ipd.internal.spi.IpdJob