Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 400 for notified (0.39 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy

        List<Closeable> openedLocks = []
    
        def cleanup() {
            CompositeStoppable.stoppable(openedLocks).add(contentionHandler, contentionHandler2).stop()
        }
    
        def "lock manager is notified while holding an exclusive lock when another lock manager in same process requires lock with mode #lockMode"() {
            given:
            def file = tmpDir.file("lock-file.bin")
            def action = Mock(Consumer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java

        private int lockCount;
        private FileLock fileLock;
        private final CacheInitializationAction initAction;
        private FileLockReleasedSignal lockReleaseSignal;
    
        /**
         * Actions are notified when lock is opened or closed. Actions are called while holding state lock, so that no other threads are working with cache while these are running.
         *
         * @param stateLock Lock to hold while mutating state.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go

    		),
    	}
    	if err := ret.loadCertKeyPair(); err != nil {
    		return nil, err
    	}
    
    	return ret, nil
    }
    
    // AddListener adds a listener to be notified when the serving cert content changes.
    func (c *DynamicCertKeyPairContent) AddListener(listener Listener) {
    	c.listeners = append(c.listeners, listener)
    }
    
    // loadCertKeyPair determines the next set of content for the file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. pkg/envoy/proxy.go

    		proxyLocalAddressType = "v6"
    	}
    	startupArgs := []string{
    		"-c", fname,
    		"--drain-time-s", fmt.Sprint(int(e.DrainDuration.AsDuration().Seconds())),
    		"--drain-strategy", "immediate", // Clients are notified as soon as the drain process starts.
    		"--local-address-ip-version", proxyLocalAddressType,
    		// Reduce default flush interval from 10s to 1s. The access log buffer size is 64k and each log is ~256 bytes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              nanos: Long,
            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
              val waitUntil = nanoTime + nanos
              val self = currentTask
              waitingCoordinatorTask = self
              waitingCoordinatorNotified = false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_cafile_content.go

    		),
    	}
    	if err := ret.loadCABundle(); err != nil {
    		return nil, err
    	}
    
    	return ret, nil
    }
    
    // AddListener adds a listener to be notified when the CA content changes.
    func (c *DynamicFileCAContent) AddListener(listener Listener) {
    	c.listeners = append(c.listeners, listener)
    }
    
    // loadCABundle determines the next set of content for the file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go

    func (c *ConfigMapCAController) keyFn() string {
    	// this format matches DeletionHandlingMetaNamespaceKeyFunc for our single key
    	return c.configmapNamespace + "/" + c.configmapName
    }
    
    // AddListener adds a listener to be notified when the CA content changes.
    func (c *ConfigMapCAController) AddListener(listener Listener) {
    	c.listeners = append(c.listeners, listener)
    }
    
    // loadCABundle determines the next set of content for the file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. pkg/kubelet/certificate/kubelet.go

    	keyFile                   string
    	dynamicCertificateContent *dynamiccertificates.DynamicCertKeyPairContent
    	currentTLSCertificate     atomic.Pointer[tls.Certificate]
    }
    
    // Enqueue implements the functions to be notified when the serving cert content changes.
    func (m *kubeletServerCertificateDynamicFileManager) Enqueue() {
    	certContent, keyContent := m.dynamicCertificateContent.CurrentCertKeyContent()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                }
    
            @Synchronized
            override fun onReuse() {
                scope?.let {
                    // Recreate the script scope and ClassLoader, so that things that use scopes are notified that the scope exists
                    it.onReuse()
                    require(loadedClass!!.classLoader == it.localClassLoader)
                }
            }
    
            private
            fun prepareClassLoaderScope() =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

                return ExecutionResult.maybeFailing(() -> buildListener.buildFinished(buildResult));
            });
        }
    
        /**
         * <p>Adds a listener to this build instance. The listener is notified of events which occur during the execution of the build.
         * See {@link org.gradle.api.invocation.Gradle#addListener(Object)} for supported listener types.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top