Class AsyncQueryRunner

    • Constructor Detail

      • AsyncQueryRunner

        @Deprecated
        public AsyncQueryRunner​(DataSource ds,
                                boolean pmdKnownBroken,
                                ExecutorService executorService)
        Deprecated.
        Use AsyncQueryRunner(ExecutorService, QueryRunner) instead. Constructor for AsyncQueryRunner that take a DataSource and controls the use of ParameterMetaData. Methods that do not take a Connection parameter will retrieve connections from this DataSource.
        Parameters:
        ds - The DataSource to retrieve connections from.
        pmdKnownBroken - Some drivers don't support ParameterMetaData.getParameterType(int); if pmdKnownBroken is set to true, we won't even try it; if false, we'll try it, and if it breaks, we'll remember not to use it again.
        executorService - the ExecutorService instance used to run JDBC invocations concurrently.
      • AsyncQueryRunner

        public AsyncQueryRunner​(ExecutorService executorService)
        Constructor for AsyncQueryRunner.
        Parameters:
        executorService - the ExecutorService instance used to run JDBC invocations concurrently.
      • AsyncQueryRunner

        public AsyncQueryRunner​(ExecutorService executorService,
                                QueryRunner queryRunner)
        Constructor for AsyncQueryRunner which uses a provided ExecutorService and underlying QueryRunner.
        Parameters:
        executorService - the ExecutorService instance used to run JDBC invocations concurrently.
        queryRunner - the QueryRunner instance to use for the queries.
        Since:
        1.5