Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 800 for queuesa (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go

    	QueueLengthLimit int
    
    	// HandSize is a parameter of shuffle sharding.  Upon arrival of a request, a queue is chosen by randomly
    	// dealing a "hand" of this many queues and then picking one of minimum length.
    	HandSize int
    }
    
    // DispatchingConfig defines the configuration of the dispatching aspect of a QueueSet.
    type DispatchingConfig struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. internal/event/config_test.go

            </S3Key>
       </Filter>
       <Queue>arn:minio:sqs::1:webhook</Queue>
       <Event>s3:ObjectCreated:Put</Event>
    </QueueConfiguration>`)
    	queue2 := &Queue{}
    	if err := xml.Unmarshal(data, queue2); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		queue          *Queue
    		region         string
    		expectedResult ARN
    	}{
    		{queue1, "eu-west-1", ARN{TargetID{"1", "webhook"}, "eu-west-1"}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go

    		if !ok {
    			continue
    		}
    
    		queueSetDigest := plState.queues.Dump(false)
    		activeQueueNum := 0
    		for _, q := range queueSetDigest.Queues {
    			if len(q.Requests) > 0 {
    				activeQueueNum++
    			}
    		}
    
    		tabPrint(tabWriter, rowForPriorityLevel(
    			plState.pl.Name,           // 1
    			activeQueueNum,            // 2
    			plState.queues.IsIdle(),   // 3
    			plState.quiescing,         // 4
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/debug/dump.go

    	Cancelled                  int
    }
    
    // QueueDump is an instant dump of one queue in a queue-set.
    type QueueDump struct {
    	QueueSum          QueueSum
    	Requests          []RequestDump // just the waiting ones
    	RequestsExecuting []RequestDump
    	NextDispatchR     string
    	ExecutingRequests int
    	SeatsInUse        int
    }
    
    type QueueSum struct {
    	InitialSeatsSum int
    	MaxSeatsSum     int
    	TotalWorkSum    string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. pkg/queue/metrics.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package queue
    
    import (
    	"time"
    
    	"k8s.io/utils/clock"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	queueIDTag   = monitoring.CreateLabel("queueID")
    	enableMetric = monitoring.WithEnabled(func() bool {
    		return features.EnableControllerQueueMetrics
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/IntermediateBuildActionRunnerTest.groovy

            1 * action2.get() >> "two"
            1 * action3.get() >> "three"
            0 * _
        }
    
        def "queues supplied actions to run in parallel"() {
            given:
            def action1 = Mock(Supplier)
            def action2 = Mock(Supplier)
            def action3 = Mock(Supplier)
            def queue = Mock(BuildOperationQueue)
    
            when:
            def result = runner.run([action1, action2, action3])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 17:58:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	counter.Add(1) // account for the goroutine running this test
    
    	queue, ok := qs.(*queueSet)
    	if !ok {
    		t.Fatalf("expected a QueueSet of type: %T but got: %T", &queueSet{}, qs)
    	}
    	if queue.totRequestsExecuting != 0 {
    		t.Fatalf("precondition: expected total requests currently executing of the QueueSet to be 0, but got: %d", queue.totRequestsExecuting)
    	}
    	if queue.dCfg.ConcurrencyLimit != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

    import okhttp3.internal.assertNotHeld
    import okhttp3.internal.okHttpName
    
    /**
     * A set of tasks that are executed in sequential order.
     *
     * Work within queues is not concurrent. This is equivalent to each queue having a dedicated thread
     * for its work; in practice a set of queues may share a set of threads to save resources.
     */
    class TaskQueue internal constructor(
      internal val taskRunner: TaskRunner,
      internal val name: String,
    ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/watch/mux.go

    const (
    	WaitIfChannelFull FullChannelBehavior = iota
    	DropIfChannelFull
    )
    
    // Buffer the incoming queue a little bit even though it should rarely ever accumulate
    // anything, just in case a few events are received in such a short window that
    // Broadcaster can't move them onto the watchers' queues fast enough.
    const incomingQueueLength = 25
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:36 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go

    	Peek() (*request, bool)
    
    	// Length returns the number of requests in the list.
    	Length() int
    
    	// QueueSum returns the sum of initial seats, final seats, and
    	// additional latency aggregated from all requests in this queue.
    	QueueSum() queueSum
    
    	// Walk iterates through the list in order of oldest -> newest
    	// and executes the specified walkFunc for each request in that order.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:05:53 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top