Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 354 for Fire (0.09 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DeferredProjectConfigurationTest.groovy

        }
    
    
        def "can add config and fire"() {
            given:
            def events = []
    
            when:
            config.add { events << "a" }
            config.add { events << "b" }
    
            and:
            config.fire()
    
            then:
            events == ["a", "b"]
        }
    
        def "fire is idempotent"() {
            given:
            def events = []
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 15 07:22:20 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        TimeoutFuture<V> result = new TimeoutFuture<>(delegate);
        Fire<V> fire = new Fire<>(result);
        result.timer = scheduledExecutor.schedule(fire, time, unit);
        delegate.addListener(fire, directExecutor());
        return result;
      }
    
      /*
       * Memory visibility of these fields. There are two cases to consider.
       *
       * 1. visibility of the writes to these fields to Fire.run:
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        TimeoutFuture<V> result = new TimeoutFuture<>(delegate);
        Fire<V> fire = new Fire<>(result);
        result.timer = scheduledExecutor.schedule(fire, time, unit);
        delegate.addListener(fire, directExecutor());
        return result;
      }
    
      /*
       * Memory visibility of these fields. There are two cases to consider.
       *
       * 1. visibility of the writes to these fields to Fire.run:
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. subprojects/build-events/src/test/groovy/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistryTest.groovy

            registry.onTaskCompletion(provider)
    
            then:
            registry.subscriptions.size() == 1
            0 * listener._
    
            when:
            async {
                factory.fire(success)
                factory.fire(failure)
                factory.fire(skipped)
                signalBuildFinished()
            }
    
            then:
            1 * listener.onFinish({ it instanceof TaskFinishEvent && it.result instanceof TaskSuccessResult })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                            eventCatapult.fire(ExecutionEvent.Type.ForkedProjectStarted, session, mojoExecution);
    
                            execute(session, mojoExecutions);
    
                            eventCatapult.fire(ExecutionEvent.Type.ForkedProjectSucceeded, session, mojoExecution);
                        } catch (LifecycleExecutionException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

            long buildStartTime = System.currentTimeMillis();
    
            try {
    
                if (reactorContext.getReactorBuildStatus().isHaltedOrBlacklisted(currentProject)) {
                    eventCatapult.fire(ExecutionEvent.Type.ProjectSkipped, session, null);
                    return;
                }
    
                consumerPomArtifactTransformer.injectTransformedArtifacts(session.getRepositorySession(), currentProject);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEventCatapult.java

        /**
         * Notifies the specified listener of the given event.
         *
         * @param listener The listener to notify, must not be {@code null}.
         * @param event The event to fire, must not be {@code null}.
         */
        void fire(ModelBuildingListener listener, ModelBuildingEvent event);
    
        ModelBuildingEventCatapult BUILD_EXTENSIONS_ASSEMBLED = ModelBuildingListener::buildExtensionsAssembled;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java

    @Named
    @Singleton
    public class DefaultExecutionEventCatapult implements ExecutionEventCatapult {
    
        @Override
        public void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) {
            fire(eventType, session, mojoExecution, null);
        }
    
        @Override
        public void fire(
                ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. releasenotes/notes/46267.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    issue:
      - 46267
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 18:39:13 UTC 2023
    - 237 bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ExecutionEventCatapultStub.java

    import org.apache.maven.plugin.MojoExecution;
    
    /**
     */
    public class ExecutionEventCatapultStub implements ExecutionEventCatapult {
    
        public void fire(Type eventType, MavenSession session, MojoExecution mojoExecution) {}
    
        public void fire(Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) {}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top