Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 215 for dispatchTo (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/BuildEventConsumer.java

    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A consumer for build events provided by the build requester. This can be used to forward events to the build requester.
     */
    @ServiceScope(Scope.BuildSession.class)
    public interface BuildEventConsumer extends Dispatch<Object> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ReflectionDispatch.java

     * limitations under the License.
     */
    
    package org.gradle.internal.dispatch;
    
    import org.gradle.internal.UncheckedException;
    
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    
    public class ReflectionDispatch implements Dispatch<MethodInvocation> {
        private final Object target;
    
        public ReflectionDispatch(Object target) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy

            Throwable ex
            final TestListenerInterface dispatch
    
            public RemoteExceptionListener(TestListenerInterface dispatch) {
                this.dispatch = dispatch
            }
    
            void send(String message, int count) {
                try {
                    dispatch.send(message, count)
                } catch (Throwable e) {
                    ex = e
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientProvidedPhasedActionRunnerTest.groovy

            1 * buildFinishedAction.execute(_) >> result2
            1 * buildEventConsumer.dispatch({
                it instanceof PhasedBuildActionResult &&
                    it.phase == PhasedActionResult.Phase.PROJECTS_LOADED &&
                    it.result == serializedResult1
            })
            1 * buildEventConsumer.dispatch({
                it instanceof PhasedBuildActionResult &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerRetryTest.groovy

            throwWhen(new IOException("Could not dispatch a message to the daemon.", new IOException("An existing connection was forcibly closed by the remote host")), iteration == 1)
    
            then:
            def ioe = thrown(IOException)
            ioe.message == "Could not dispatch a message to the daemon."
        }
    
        private static void throwWhen(Throwable throwable, boolean condition) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

                    }
                    dispatch(connection, new InvalidateVirtualFileSystemAfterChange(changedPaths, idGenerator.generateId(), connection.getDaemon().getToken()));
                }
            }
        }
    
        private static void dispatch(Connection<Message> connection, Command command) {
            Throwable failure = null;
            try {
                connection.dispatch(command);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.daemon.client.clientinput
    
    import org.gradle.internal.dispatch.Dispatch
    import org.gradle.internal.logging.console.DefaultUserInputReceiver
    import org.gradle.internal.logging.events.OutputEventListener
    import org.gradle.internal.logging.events.PromptOutputEvent
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptionFilteringTest.groovy

            "bytecode upgrade" | "Groovy callsite"          | { it.testBytecodeUpgrade() }  | false          | null
    
            "instrumentation " | "Groovy dynamic dispatch " | { testInstrumentation() }     | true           | "testInstrumentation()"
            "bytecode upgrade" | "Groovy dynamic dispatch"  | { testBytecodeUpgrade() }     | true           | null
        }
    
        def 'intercepts a basic instance call with #method from #caller with `all` filter'() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/StopDispatcher.java

        public boolean dispatch(Connection<Message> connection, Command stopCommand) {
            Throwable failure = null;
            try {
                connection.dispatch(stopCommand);
                Result result = (Result) connection.receive();
                if (result instanceof Failure) {
                    failure = ((Failure) result).getValue();
                }
                connection.dispatch(new Finished());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. docs/contribute/concurrency.md

    So we have a dedicated thread for every socket that just reads frames and dispatches them.
    
    The reader thread must never run application-layer code. Otherwise one slow stream can hold up the entire connection.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
Back to top