Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for onReplace (0.38 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	w.resourceVersion = version
    	if w.onReplace != nil {
    		w.onReplace()
    	}
    	w.cond.Broadcast()
    
    	metrics.RecordResourceVersion(w.groupResource.String(), version)
    	klog.V(3).Infof("Replaced watchCache (rev: %v) ", resourceVersion)
    	return nil
    }
    
    func (w *watchCache) SetOnReplace(onReplace func()) {
    	w.Lock()
    	defer w.Unlock()
    	w.onReplace = onReplace
    }
    
    func (w *watchCache) Resync() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// The 'usable' lock is always 'RLock'able when it is safe to use the cache.
    	// It is safe to use the cache after a successful list until a disconnection.
    	// We start with usable (write) locked. The below OnReplace function will
    	// unlock it after a successful list. The below defer will then re-lock
    	// it when this function exits (always due to disconnection), only if
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. hack/update-vendor.sh

         inrequire               { print > \"${go_mod_require_direct}\";   next }
    
         # print lines between 'replace (' ... ')' lines
         /^replace [(]/      { inreplace=1; next                   }
         inreplace && /^[)]/ { inreplace=0; next                   }
         inreplace           { print > \"${go_mod_replace}\"; next }
    
         # print ungrouped replace directives with the replace directive trimmed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. pom.xml

    										<include>tomcat/**</include>
    									</includes>
    								</source>
    							</sources>
    						</mapping>
    						<mapping>
    							<directory>${packaging.fess.conf.dir}</directory>
    							<configuration>noreplace</configuration>
    							<sources>
    								<source>
    									<location>${project.basedir}/src/main/assemblies/files</location>
    									<includes>
    										<include>logging.properties</include>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
Back to top