- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ConnectionAction (0.16 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ConnectionAction.java
* limitations under the License. */ package org.gradle.performance.results; import java.sql.Connection; import java.sql.SQLException; public interface ConnectionAction<T> { T execute(Connection connection) throws SQLException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 816 bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceDatabase.java
private final String databaseName; private final List<ConnectionAction<Void>> databaseInitializers; private HikariDataSource dataSource; @SafeVarargs public PerformanceDatabase(String databaseName, ConnectionAction<Void>... schemaInitializers) { this.databaseName = databaseName; this.databaseInitializers = Arrays.asList(schemaInitializers);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/AbstractWritableResultsStore.groovy
} } } } protected <RESULT> RESULT withConnection(String actionName, ConnectionAction<RESULT> action) { return db.withConnection(actionName, action) } protected <RESULT> RESULT withConnectionClosingDb(String actionName, ConnectionAction<RESULT> action) { try { return db.withConnection(actionName, action) } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java
super(new PerformanceDatabase("cross_build_results")); this.resultType = resultType; } @Override public void report(final R results) { withConnectionClosingDb("write results", (ConnectionAction<Void>) connection -> { long executionId = insertExecution(connection, results); batchInsertOperation(connection, results, executionId); insertExecutionExperiment(connection, results);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 12.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java
super(new PerformanceDatabase(databaseName)); } @Override public void report(final CrossVersionPerformanceResults results) { withConnectionClosingDb("write results", (ConnectionAction<Void>) connection -> { long testId = insertExecution(connection, results); batchInsertOperation(connection, results, testId); updatePreviousTestId(connection, results);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 20K bytes - Viewed (0)