Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 412 for cachez (0.49 sec)

  1. pkg/controller/storageversiongc/gc_controller.go

    	defer logger.Info("Shutting down storage version garbage collector")
    
    	logger.Info("Starting storage version garbage collector")
    
    	if !cache.WaitForCacheSync(ctx.Done(), c.leasesSynced, c.storageVersionSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// Identity lease deletion and storageversion update don't happen too often. Start one
    	// worker for each of them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	backingStorage := &dummyStorage{}
    	cacher, _, err := newTestCacher(backingStorage)
    	if err != nil {
    		t.Fatalf("Couldn't create cacher: %v", err)
    	}
    	defer cacher.Stop()
    
    	// Wait until cacher is initialized.
    	if err := cacher.ready.wait(context.Background()); err != nil {
    		t.Fatalf("unexpected error waiting for the cache to be ready")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

    import org.gradle.cache.FileLockManager;
    import org.gradle.cache.IndexedCacheParameters;
    import org.gradle.cache.InsufficientLockModeException;
    import org.gradle.cache.LockOptions;
    import org.gradle.cache.LockTimeoutException;
    import org.gradle.cache.MultiProcessSafeIndexedCache;
    import org.gradle.cache.internal.btree.BTreePersistentIndexedCache;
    import org.gradle.cache.internal.cacheops.CacheAccessOperationsStack;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go

    	c.configmapInformer = coreinformers.NewFilteredConfigMapInformer(client, c.configmapNamespace, 12*time.Hour, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, func(listOptions *metav1.ListOptions) {
    		listOptions.FieldSelector = fields.OneTermEqualSelector("metadata.name", c.configmapName).String()
    	})
    
    	c.configmapInformer.AddEventHandler(cache.FilteringResourceEventHandler{
    		FilterFunc: func(obj interface{}) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

         * it may be disabled due to the presence of configuration cache problems. It is also currently not used during an IDE import/sync.
         *
         * @since 7.6
         * @deprecated Use {@link org.gradle.api.configuration.BuildFeatures#getConfigurationCache() Configuration Cache build feature} instead.
         */
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go

    limitations under the License.
    */
    
    package cacher
    
    import (
    	"errors"
    	"fmt"
    	"reflect"
    	"sync"
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/watch"
    	"k8s.io/client-go/tools/cache"
    )
    
    func intervalFromEvents(events []*watchCacheEvent) *watchCacheInterval {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java

            }
        }
    
        private boolean shouldCacheResolutionState() {
            // When there may be more than one configuration defined, cache the component resolution state, so it can be reused for resolving multiple configurations.
            // When there may be no more than one configuration, don't cache the resolution state for reuse. Currently, this only applies to detached configurations, however
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    		return nil
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	if final == nil {
    		return cache, errors.New("no final cache")
    	}
    	return *final, nil
    }
    
    func (client *storageRESTClient) GetDiskID() (string, error) {
    	if !client.IsOnlineWS() {
    		// make sure to check if the disk is offline, since the underlying
    		// value is cached we should attempt to invalidate it if such calls
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. src/runtime/iface.go

    	if cheaprand()&uint32(oldC.Mask) != 0 {
    		// As cache gets larger, choose to update it less often
    		// so we can amortize the cost of building a new cache
    		// (that cost is linear in oldc.Mask).
    		return case_, tab
    	}
    
    	// Make a new cache.
    	newC := buildInterfaceSwitchCache(oldC, t, case_, tab)
    
    	// Update cache. Use compare-and-swap so if multiple threads
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl.isolated
    
    class IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "caches BuildAction that queries model that performs dependency resolution"() {
            given:
            withSomeToolingModelBuilderPluginThatPerformsDependencyResolutionInBuildSrc()
            settingsFile << """
                include("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top