- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for AddListener (0.17 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// For each listener we add a task that submits it to the executor directly for the blocking // get use case and another task that adds it as a listener to the future to exercise both // racing addListener calls and addListener calls completing after the future completes. final Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable; allTasks.add(Executors.callable(listener));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java
subscriptions.put(listenerProvider, subscription); for (Object listener : subscription.getListeners()) { listenerManager.addListener(listener); if (listener instanceof BuildOperationListener) { buildOperationListenerManager.addListener((BuildOperationListener) listener); } } } private void processIfBuildService(Provider<?> listenerProvider) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 19:34:01 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt
writingState.append(fingerprint) } } private fun addListener(listener: ConfigurationCacheFingerprintWriter) { listenerManager.addListener(listener) workInputListeners.addListener(listener) scriptFileResolverListeners.addListener(listener) } private fun removeListener(listener: ConfigurationCacheFingerprintWriter) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 18.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// For each listener we add a task that submits it to the executor directly for the blocking // get use case and another task that adds it as a listener to the future to exercise both // racing addListener calls and addListener calls completing after the future completes. final Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable; allTasks.add(Executors.callable(listener));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
"Gradle.addListener(ProjectEvaluationListener)" | "gradle.addListener(new ProjectEvaluationAdapter())" "Gradle.addListener(TaskExecutionGraphListener)" | "gradle.addListener({g -> } as TaskExecutionGraphListener)" "Gradle.addListener(DependencyResolutionListener)" | "gradle.addListener(new DependencyResolutionAdapter())"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt
val summary = summarizer.get() return discardStateDueToProblems(summary) || hasTooManyProblems(summary) } init { listenerManager.addListener(buildNameHandler) listenerManager.addListener(postBuildHandler) } override fun close() { listenerManager.removeListener(buildNameHandler) listenerManager.removeListener(postBuildHandler) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:04:02 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt
override fun getGradle(): Gradle = this override fun getLifecycle(): GradleLifecycle = delegate.lifecycle override fun addListener(listener: Any) { delegate.addListener(maybeWrapListener(listener)) } override fun removeListener(listener: Any) { delegate.removeListener(maybeWrapListener(listener)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
try { future.addListener(valueToSet, DirectExecutor.INSTANCE); } catch (Throwable t) { // Any Exception is either a RuntimeException or sneaky checked exception. // // addListener has thrown an exception! SetFuture.run can't throw any exceptions so this // must have been caused by addListener itself. The most likely explanation is a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (1) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
try { future.addListener(valueToSet, DirectExecutor.INSTANCE); } catch (Throwable t) { // Any Exception is either a RuntimeException or sneaky checked exception. // // addListener has thrown an exception! SetFuture.run can't throw any exceptions so this // must have been caused by addListener itself. The most likely explanation is a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (1)