Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for waits (0.04 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      /**
       * Marks the given step final, waits for it to be finished, and returns the value.
       *
       * @throws ExecutionException if the step failed
       * @throws CancellationException if the step was cancelled
       */
      abstract <T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException;
    
      /** Marks the given step final, cancels it, and waits for the cancellation to happen. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      /**
       * Marks the given step final, waits for it to be finished, and returns the value.
       *
       * @throws ExecutionException if the step failed
       * @throws CancellationException if the step was cancelled
       */
      abstract <T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException;
    
      /** Marks the given step final, cancels it, and waits for the cancellation to happen. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		}
    		postEnqueue.Done()
    		postEnqueue.Wait()
    	}
    
    	postDequeueFunc := func() {
    		preDequeue.Done()
    		preDequeue.Wait()
    		if atomicReadOnlyWaiting != 0 {
    			t.Errorf("Wanted %d requests in queue, got %d", 0, atomicReadOnlyWaiting)
    		}
    		postDequeue.Done()
    		postDequeue.Wait()
    	}
    
    	postExecuteFunc := func() {
    		finishExecute.Done()
    		finishExecute.Wait()
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // We need an executor that will not block.
                // We can't use work stealing, as we are building a graph
                // and this could lead to cycles where a thread waits for
                // a task to finish, then execute another one which waits
                // for the initial task...
                // In order to work around that problem, we override the
                // invokeAll method, so that whenever the method is called,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    //  2. Start request 1.
    //  3. Use a fake clock for the following logic, to insulate from scheduler noise.
    //  4. The exec fn of request 1 starts request 2, which should wait
    //     in its queue.
    //  5. The exec fn of request 1 also forks a goroutine that waits 1 second
    //     and then cancels the context of request 2.
    //  6. The exec fn of request 1, if StartRequest 2 returns a req2 (which is the normal case),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/binder_test.go

    			expectedEvents:  []string{"Warning VolumeMismatch"},
    			errors:          noerrors,
    			test:            testSyncVolume,
    		},
    		{
    			// syncVolume waits for synClaim without warning when pv is prebound to pvc with matching volumeMode block
    			name:            "14-14 - wait for synClaim without warning when pv is prebound to pvc with matching volumeModes block",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue.go

    	return pq
    }
    
    // Run starts the goroutine to pump from podBackoffQ to activeQ
    func (p *PriorityQueue) Run(logger klog.Logger) {
    	go wait.Until(func() {
    		p.flushBackoffQCompleted(logger)
    	}, 1.0*time.Second, p.stop)
    	go wait.Until(func() {
    		p.flushUnschedulablePodsLeftover(logger)
    	}, 30*time.Second, p.stop)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  8. docs/bucket/notifications/README.md

    mc event list myminio/images
    arn:minio:sqs::1:amqp s3:ObjectCreated:*,s3:ObjectRemoved:* Filter: suffix=”.jpg”
    ```
    
    ### Step 3: Test on RabbitMQ
    
    The python program below waits on the queue exchange `bucketevents` and prints event notifications on the console. We use [Pika Python Client](https://www.rabbitmq.com/tutorials/tutorial-three-python.html) library to do this.
    
    ```py
    #!/usr/bin/env python
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		defer c.watchCache.RUnlock()
    		return err
    	}
    	return nil
    }
    
    // Wait blocks until the cacher is Ready or Stopped, it returns an error if Stopped.
    func (c *Cacher) Wait(ctx context.Context) error {
    	return c.ready.wait(ctx)
    }
    
    // errWatcher implements watch.Interface to return a single error
    type errWatcher struct {
    	result chan watch.Event
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	}
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    func createTestClient(attachedVolumes ...v1.AttachedVolume) *fake.Clientset {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top