Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 431 for syncFn (0.12 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

         * have called {@link #syncAt(int)} or {@link #expectBlocksUntil(int, groovy.lang.Closure)} with the given tick, and
         * there are least 2 test threads.
         *
         * @param tick The expected clock tick
         */
        public void syncAt(int tick) {
            LOGGER.debug("Thread {} synching at tick {}", Thread.currentThread(), tick);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package healthz
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"net/http"
    	"reflect"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apiserver/pkg/endpoints/metrics"
    	"k8s.io/apiserver/pkg/server/httplog"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. pkg/controller/servicecidrs/servicecidrs_controller.go

    	key, quit := c.queue.Get()
    	if quit {
    		return false
    	}
    	defer c.queue.Done(key)
    
    	err := c.sync(ctx, key)
    	if err == nil {
    		c.queue.Forget(key)
    		return true
    	}
    	logger := klog.FromContext(ctx)
    	if c.queue.NumRequeues(key) < maxRetries {
    		logger.V(2).Info("Error syncing ServiceCIDR, retrying", "ServiceCIDR", key, "err", err)
    		c.queue.AddRateLimited(key)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/graph_builder.go

    	defer gb.monitorLock.Unlock()
    
    	if len(gb.monitors) == 0 {
    		logger.V(4).Info("garbage controller monitor not synced: no monitors")
    		return false
    	}
    
    	for resource, monitor := range gb.monitors {
    		if !monitor.controller.HasSynced() {
    			logger.V(4).Info("garbage controller monitor not yet synced", "resource", resource)
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. pilot/pkg/xds/discovery.go

    	discovery.RegisterAggregatedDiscoveryServiceServer(rpcs, s)
    }
    
    var processStartTime = time.Now()
    
    // CachesSynced is called when caches have been synced so that server can accept connections.
    func (s *DiscoveryServer) CachesSynced() {
    	log.Infof("All caches have been synced up in %v, marking server ready", time.Since(s.DiscoveryStartTime))
    	s.serverReady.Store(true)
    }
    
    func (s *DiscoveryServer) IsServerReady() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. pkg/controller/endpoint/endpoints_controller.go

    	// Added as a member to the struct to allow injection for testing.
    	servicesSynced cache.InformerSynced
    
    	// podLister is able to list/get pods and is populated by the shared informer passed to
    	// NewEndpointController.
    	podLister corelisters.PodLister
    	// podsSynced returns true if the pod shared informer has been synced at least once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    			return
    		}
    
    		// StorageVersion Informers and/or StorageVersionManager is not synced yet, pass request to next handler
    		// This will happen for self requests from the kube-apiserver because we have a poststarthook
    		// to ensure that external requests are not served until the StorageVersion Informer and
    		// StorageVersionManager has synced
    		if !h.HasFinishedSync() {
    			handler.ServeHTTP(w, r)
    			return
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. build/common.sh

      rsync "${rsync_opts[@]}" "$@"
    }
    
    # This will launch rsyncd in a container and then sync the source tree to the
    # container over the local network.
    function kube::build::sync_to_container() {
      kube::log::status "Syncing sources to container"
    
      kube::build::start_rsyncd_container
    
      # rsync filters are a bit confusing.  Here we are syncing everything except
      # output only directories and things that are not necessary like the git
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. pkg/proxy/endpointschangetracker.go

    	}
    }
    
    // EndpointSliceUpdate updates the EndpointsChangeTracker by adding/updating or removing
    // endpointSlice (depending on removeSlice). It returns true if this update contained a
    // change that needs to be synced; note that this is different from the return value of
    // ServiceChangeTracker.Update().
    func (ect *EndpointsChangeTracker) EndpointSliceUpdate(endpointSlice *discovery.EndpointSlice, removeSlice bool) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. pkg/adsc/adsc_test.go

    			desc:            "stream-3-completed-mcp-resources",
    			initialRequests: ConfigInitialRequests(),
    			validator: func(testCase testCase) error {
    				if !testCase.inAdsc.HasSynced() {
    					return errors.New("ADSC should be synced")
    				}
    				return nil
    			},
    		},
    		{
    			desc:            "stream-4-uncompleted-mcp-resources",
    			initialRequests: ConfigInitialRequests(),
    			// XDS Server don't push this kind resource.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top