Class PostgreSQLIdleConnectionCounter

    • Constructor Detail

      • PostgreSQLIdleConnectionCounter

        public PostgreSQLIdleConnectionCounter()
    • Method Detail

      • count

        public int count​(Connection connection)
        Description copied from interface: IdleConnectionCounter
        Count the number of idle connections.
        Specified by:
        count in interface IdleConnectionCounter
        Parameters:
        connection - current JDBC connection to be used for querying the number of idle connections.
        Returns:
        idle connection count.