Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for dispatchTo (0.31 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultUserInputReceiver.java

            if (userInput == null) {
                throw new IllegalStateException("User input has not been initialized.");
            }
            return userInput;
        }
    
        @Override
        public void dispatchTo(UserInputReceiver userInput) {
            if (!delegate.compareAndSet(null, userInput)) {
                throw new IllegalStateException("User input has already been initialized.");
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

            userInput.dispatchTo(forwarder);
        }
    
        @Override
        public void stop() {
            userInput.stopDispatching();
            forwarder.stop();
            executor.shutdown();
        }
    
        private static class ForwardingUserInput implements UserInputReceiver {
            private final Dispatch<? super InputMessage> dispatch;
            private final BufferedReader reader;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    )
    
    type mutatingDispatcher struct {
    	cm     *webhookutil.ClientManager
    	plugin *Plugin
    }
    
    func newMutatingDispatcher(p *Plugin) func(cm *webhookutil.ClientManager) generic.Dispatcher {
    	return func(cm *webhookutil.ClientManager) generic.Dispatcher {
    		return &mutatingDispatcher{cm, p}
    	}
    }
    
    var _ generic.VersionedAttributeAccessor = &versionedAttributeAccessor{}
    
    type versionedAttributeAccessor struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	*admission.Handler
    
    	sourceFactory sourceFactory
    
    	hookSource       Source
    	clientManager    *webhookutil.ClientManager
    	namespaceMatcher *namespace.Matcher
    	objectMatcher    *object.Matcher
    	dispatcher       Dispatcher
    	filterCompiler   cel.FilterCompiler
    	authorizer       authorizer.Authorizer
    }
    
    var (
    	_ genericadmissioninit.WantsExternalKubeClientSet = &Webhook{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonConnection.java

         */
        void onCancel(@Nullable Runnable handler);
    
        /**
         * Dispatches a daemon unavailable message to the client.
         */
        void daemonUnavailable(DaemonUnavailable unavailable);
    
        /**
         * Dispatches a build started message to the client.
         */
        void buildStarted(BuildStarted buildStarted);
    
        /**
         * Dispatches a log event message to the client.
         */
        void logEvent(OutputEvent logEvent);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ContextClassLoaderProxy.java

     * limitations under the License.
     */
    
    package org.gradle.internal.dispatch;
    
    /**
     * Creates a proxy object which sets the context ClassLoader when invoking methods on the target object.
     */
    public class ContextClassLoaderProxy<T> {
        private final ProxyDispatchAdapter<T> adapter;
    
        /**
         * Creates a proxy which dispatches to the given target object.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

    			},
    			func(a authorizer.Authorizer, m *matching.Matcher) generic.Dispatcher[PolicyHook] {
    				return NewDispatcher(a, generic.NewPolicyMatcher(m))
    			},
    		),
    	}
    }
    
    // Validate makes an admission decision based on the request attributes.
    func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	return a.Plugin.Dispatch(ctx, attr, o)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

    import org.gradle.internal.dispatch.AsyncDispatch;
    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.dispatch.DispatchException;
    import org.gradle.internal.dispatch.ExceptionTrackingFailureHandler;
    import org.gradle.internal.dispatch.FailureHandlingDispatch;
    import org.gradle.internal.dispatch.MethodInvocation;
    import org.gradle.internal.dispatch.ProxyDispatchAdapter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/AbstractBroadcastDispatch.java

                case 1:
                    dispatch(invocation, dispatchers.get(0));
                    break;
                default:
                    dispatch(invocation, dispatchers.iterator());
                    break;
            }
        }
    
        /**
         * Dispatch an invocation to multiple handlers.
         */
        private void dispatch(MethodInvocation invocation, Iterator<? extends Dispatch<MethodInvocation>> handlers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ProxyDispatchAdapter.java

                    return otherHandler.type.equals(type) && otherHandler.dispatch == dispatch;
                }
    
                if (method.getName().equals("hashCode")) {
                    return dispatch.hashCode();
                }
                if (method.getName().equals("toString")) {
                    return type.getSimpleName() + " broadcast";
                }
                dispatch.dispatch(new MethodInvocation(method, parameters));
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top