MCPcopy Create free account
hub / github.com/cortexproject/cortex / Priority

Method Priority

pkg/util/priority_queue.go:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20// PriorityOp is an operation on the priority queue.
21type PriorityOp interface {
22 Priority() int64 // The larger the number the higher the priority.
23}
24
25type queue []PriorityOp

Callers 6

EnqueueRequestMethod · 0.65
enqueueRequestMethod · 0.65
dequeueRequestMethod · 0.65
enqueueRequestMethod · 0.65
dequeueRequestMethod · 0.65
LessMethod · 0.65

Implementers 3

schedulerRequestpkg/scheduler/scheduler.go
MockRequestpkg/scheduler/queue/queue_test.go
requestpkg/frontend/v1/frontend.go

Calls

no outgoing calls

Tested by

no test coverage detected