Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 343 for notifyCh (0.18 sec)

  1. cmd/config-current.go

    		config.NotifyAMQPSubSys:     notify.HelpAMQP,
    		config.NotifyKafkaSubSys:    notify.HelpKafka,
    		config.NotifyMQTTSubSys:     notify.HelpMQTT,
    		config.NotifyNATSSubSys:     notify.HelpNATS,
    		config.NotifyNSQSubSys:      notify.HelpNSQ,
    		config.NotifyMySQLSubSys:    notify.HelpMySQL,
    		config.NotifyPostgresSubSys: notify.HelpPostgres,
    		config.NotifyRedisSubSys:    notify.HelpRedis,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/ListenerBroadcastTest.groovy

            1 * listener.event3() >> { throw failure }
            0 * _._
            ListenerNotificationException exception = thrown()
            exception.message == 'Failed to notify test listener.'
            exception.cause.is(failure)
        }
    
        def 'attempts to notify all other listeners when one throws exception'() {
            given:
            TestListener listener1 = Mock()
            TestListener listener2 = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. src/runtime/sema.go

    	if l.wait.Load() == atomic.Load(&l.notify) {
    		return
    	}
    
    	lockWithRank(&l.lock, lockRankNotifyList)
    
    	// Re-check under the lock if we need to do anything.
    	t := l.notify
    	if t == l.wait.Load() {
    		unlock(&l.lock)
    		return
    	}
    
    	// Update the next notify ticket number.
    	atomic.Store(&l.notify, t+1)
    
    	// Try to find the g that needs to be notified.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy

        }
    
        static void assertBeforeEvaluateOp(TestBuildOperationRunner.Log.Record op, Throwable failureCause = null) {
            assert op.descriptor.name == 'Notify beforeEvaluate listeners of :project1'
            assert op.descriptor.displayName == 'Notify beforeEvaluate listeners of :project1'
    
            def details = op.descriptor.details as NotifyProjectBeforeEvaluatedBuildOperationType.Details
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java

    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    
    class ModelGraph {
        private enum PendingState {
            ADD, NOTIFY
        }
    
        private final ModelNodeInternal root;
        private final Map<ModelPath, ModelNodeInternal> flattened = new TreeMap<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/configuration/mutating_webhook_manager.go

    	handle, _ := informer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(_ interface{}) { manager.lazy.Notify() },
    		UpdateFunc: func(old, new interface{}) {
    			obj := new.(*v1.MutatingWebhookConfiguration)
    			manager.configurationsCache.Delete(obj.GetName())
    			manager.lazy.Notify()
    		},
    		DeleteFunc: func(obj interface{}) {
    			vwc, ok := obj.(*v1.MutatingWebhookConfiguration)
    			if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 22:43:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	s.ctx = ctx
    
    	// Perform initial policy compilation after initial list has finished
    	s.notify()
    	s.refreshPolicies()
    
    	notifyFuncs := cache.ResourceEventHandlerFuncs{
    		AddFunc: func(_ interface{}) {
    			s.notify()
    		},
    		UpdateFunc: func(_, _ interface{}) {
    			s.notify()
    		},
    		DeleteFunc: func(_ interface{}) {
    			s.notify()
    		},
    	}
    	handle, err := s.policyInformer.AddEventHandler(notifyFuncs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. pilot/pkg/keycertbundle/watcher.go

    	w.mutex.Lock()
    	defer w.mutex.Unlock()
    	ch := w.watchers[id]
    	if ch != nil {
    		close(ch)
    	}
    	delete(w.watchers, id)
    }
    
    // SetAndNotify sets the key cert and root cert and notify the watchers.
    func (w *Watcher) SetAndNotify(key, cert, caBundle []byte) {
    	w.mutex.Lock()
    	defer w.mutex.Unlock()
    	if len(key) != 0 {
    		w.bundle.KeyPem = key
    	}
    	if len(cert) != 0 {
    		w.bundle.CertPem = cert
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 05 14:00:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/configuration/validating_webhook_manager.go

    	handle, _ := informer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(_ interface{}) { manager.lazy.Notify() },
    		UpdateFunc: func(old, new interface{}) {
    			obj := new.(*v1.ValidatingWebhookConfiguration)
    			manager.configurationsCache.Delete(obj.GetName())
    			manager.lazy.Notify()
    		},
    		DeleteFunc: func(obj interface{}) {
    			vwc, ok := obj.(*v1.ValidatingWebhookConfiguration)
    			if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 22:43:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    	// immediately one last time before we exit this method.
    	xioutil.SafeClose(saverQuitCh)
    
    	// Notify expire jobs final status to the configured endpoint
    	buf, _ := json.Marshal(ri)
    	if err := r.Notify(context.Background(), bytes.NewReader(buf)); err != nil {
    		batchLogIf(context.Background(), fmt.Errorf("unable to notify %v", err))
    	}
    
    	return nil
    }
    
    //msgp:ignore batchExpireJobError
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top