Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 412 for dispatchTo (0.31 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

    import java.util.concurrent.LinkedBlockingQueue
    import java.util.logging.Logger
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Default dispatcher that processes a script of responses. Populate the script by calling [enqueueResponse].
     */
    @ExperimentalOkHttpApi
    open class QueueDispatcher : Dispatcher() {
      protected val responseQueue: BlockingQueue<MockResponse> = LinkedBlockingQueue()
      private var failFastResponse: MockResponse? = null
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/EventBus.java

            MoreExecutors.directExecutor(),
            Dispatcher.perThreadDispatchQueue(),
            exceptionHandler);
      }
    
      EventBus(
          String identifier,
          Executor executor,
          Dispatcher dispatcher,
          SubscriberExceptionHandler exceptionHandler) {
        this.identifier = checkNotNull(identifier);
        this.executor = checkNotNull(executor);
        this.dispatcher = checkNotNull(dispatcher);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 25 16:37:57 UTC 2021
    - 12.8K bytes
    - Viewed (0)
  3. 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)
  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/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)
  7. guava/src/com/google/common/eventbus/EventBus.java

            MoreExecutors.directExecutor(),
            Dispatcher.perThreadDispatchQueue(),
            exceptionHandler);
      }
    
      EventBus(
          String identifier,
          Executor executor,
          Dispatcher dispatcher,
          SubscriberExceptionHandler exceptionHandler) {
        this.identifier = checkNotNull(identifier);
        this.executor = checkNotNull(executor);
        this.dispatcher = checkNotNull(dispatcher);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 17 16:01:41 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    	)
    	apiserverDispatchR = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "dispatch_r",
    			Help:           "R(time of last dispatch)",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{priorityLevel},
    	)
    	apiserverLatestS = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    	// win in the case that the virtual finish times are the same
    	qs.robinIndex = minIndex
    
    	if minQueue.nextDispatchR < oldestReqFromMinQueue.arrivalR {
    		klog.ErrorS(errors.New("dispatch before arrival"), "Inconceivable!", "QS", qs.qCfg.Name, "queue", minQueue.index, "dispatchR", minQueue.nextDispatchR, "request", oldestReqFromMinQueue)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
Back to top