Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for dispatchTo (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go

    	return nil
    }
    
    func (c *Plugin[H]) Dispatch(
    	ctx context.Context,
    	a admission.Attributes,
    	o admission.ObjectInterfaces,
    ) (err error) {
    	if !c.enabled {
    		return nil
    	} else if c.shouldIgnoreResource(a) {
    		return nil
    	} else if !c.WaitForReady() {
    		return admission.NewForbidden(a, fmt.Errorf("not yet ready to handle request"))
    	}
    
    	return c.dispatcher.Dispatch(ctx, a, o, c.source.Hooks())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/SynchronizedDispatchConnection.java

                    // Safety check: dispatching a message should not cause the thread to dispatch another message (eg should not do any logging)
                    throw new IllegalStateException("This thread is already dispatching a message.");
                }
                dispatching = true;
                try {
                    delegate.dispatch(message);
                    delegate.flush();
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/DispatchFailureHandler.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.dispatch;
    
    public interface DispatchFailureHandler<T> {
        /**
         * Called when a message could not be dispatched. This method can throw an exception to abort further dispatching.
         */
        void dispatchFailed(T message, Throwable failure);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 892 bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

    package okhttp3.slack;
    
    import java.io.Closeable;
    import java.io.IOException;
    import java.security.SecureRandom;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import okhttp3.HttpUrl;
    import okhttp3.mockwebserver.Dispatcher;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.mockwebserver.RecordedRequest;
    import okio.ByteString;
    
    /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  8. samples/bookinfo/src/ratings/ratings.js

        ratings: {
          'Reviewer1': 5,
          'Reviewer2': 4
        }
      }
    }
    
    function handleRequest (request, response) {
      try {
        console.log(request.method + ' ' + request.url)
        dispatcher.dispatch(request, response)
      } catch (err) {
        console.log(err)
      }
    }
    
    var server = http.createServer(handleRequest)
    
    process.on('SIGTERM', function () {
      console.log("SIGTERM received")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 02 00:29:57 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  9. docs/features/calls.md

    ## Dispatch
    
    For synchronous calls, you bring your own thread and are responsible for managing how many simultaneous requests you make. Too many simultaneous connections wastes resources; too few harms latency.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/DaemonConnectionBackedEventConsumer.java

    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.TimeUnit;
    
    /**
     * An event consumer that asynchronously dispatches events to the client.
     */
    class DaemonConnectionBackedEventConsumer implements BuildEventConsumer {
        private final DaemonCommandExecution execution;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top