priority_queue.go ×1

Frontier kind: Code frontier

unlabeled · c_7a0e23f81ccb

15 tests · 22 LOC · 1 file · introduces 0 tests · 3 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range3 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
6 ranges22 lines · 1 file · Browse complete extent
All tests (intent)
15 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Introduced files, introduced tests, and structurally relevant concept specializationmemory_scheduled_queue.go ×1 · 2 introduced LOCmemory_scheduled_queue.g…memory_scheduled_queue.go ×3 · 7 introduced LOCmemory_scheduled_queue.g…memory_scheduled_queue.go ×9 · 52 introduced LOCmemory_scheduled_queue.g…TestForceReschedule_ImmediateTask · 0 introduced LOCTestForceReschedule_Imme…TestForceReschedule_ScheduledTask · 0 introduced LOCTestForceReschedule_Sche…rescheduler.go ×4 · 26 introduced LOCrescheduler.go ×4TestStartStop · 0 introduced LOCTestStartStoprescheduler.go ×1 · 2 introduced LOCrescheduler.go ×1TestReschedule_NoRescheduleLimit · 0 introduced LOCTestReschedule_NoResched…rescheduler.go ×1 · 2 introduced LOCrescheduler.go ×1rescheduler.go ×1 · 3 introduced LOCrescheduler.go ×1TestAdd_NewTaskIsAddedToQueueWhenBatchFailed · 0 introduced LOCTestAdd_NewTaskIsAddedTo…TestAdd_NewTaskCannotBatched · 0 introduced LOCTestAdd_NewTaskCannotBat…rescheduler.go ×2 · 5 introduced LOCrescheduler.go ×2sequential_batch_queue.go ×1 · 6 introduced LOCsequential_batch_queue.g…TestInsertAndPop, TestRandomNumber · 0 introduced LOCTestInsertAndPop, TestRa…priority_queue.go ×1 · 8 introduced LOCpriority_queue.go ×1priority_queue.go ×3 · 11 introduced LOCpriority_queue.go ×3priority_queue.go ×1 · 3 introduced LOCpriority_queue.go ×1priority_queue.go ×1 · 5 introduced LOCpriority_queue.go ×1TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOCTestOperatorServiceMetad…go.temporal.io/server/common/collection/priority_queue.go · 90 LOCcollection/priority_queu…go.temporal.io/server/service/history/queues/memory_scheduled_queue.go · 179 LOCqueues/memory_scheduled_…go.temporal.io/server/service/history/queues/rescheduler.go · 299 LOCqueues/rescheduler.gogo.temporal.io/server/service/history/queues/speculative_workflow_task_timeout_executable.go · 55 LOCqueues/speculative_workf…go.temporal.io/server/service/history/replication/sequential_batch_queue.go · 117 LOCreplication/sequential_b…go.temporal.io/server/service/history/replication/sequential_queue.go · 88 LOCreplication/sequential_q…go.temporal.io/server/service/history/tasks/workflow_task_timer.go · 103 LOCtasks/workflow_task_time…TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadataTestOperatorServiceMetad…TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadataTestWorkflowServiceMetad…TestInsertAndPop · introduced test · go.temporal.io/server/common/collection/TestPriorityQueueSuite/TestInsertAndPopTestInsertAndPopTestNewPriorityQueueWithItems · introduced test · go.temporal.io/server/common/collection/TestPriorityQueueSuite/TestNewPriorityQueueWithItemsTestNewPriorityQueueWith…TestRandomNumber · introduced test · go.temporal.io/server/common/collection/TestPriorityQueueSuite/TestRandomNumberTestRandomNumberTest_1KRandomTasks · introduced test · go.temporal.io/server/service/history/queues/TestMemoryScheduledQueueSuite/Test_1KRandomTasksTest_1KRandomTasksTest_ThreeCancelledTasks · introduced test · go.temporal.io/server/service/history/queues/TestMemoryScheduledQueueSuite/Test_ThreeCancelledTasksTest_ThreeCancelledTasksTest_ThreeInOrderTasks · introduced test · go.temporal.io/server/service/history/queues/TestMemoryScheduledQueueSuite/Test_ThreeInOrderTasksTest_ThreeInOrderTasksTestForceReschedule_ImmediateTask · introduced test · go.temporal.io/server/service/history/queues/TestReschdulerSuite/TestForceReschedule_ImmediateTaskTestForceReschedule_Imme…TestForceReschedule_ScheduledTask · introduced test · go.temporal.io/server/service/history/queues/TestReschdulerSuite/TestForceReschedule_ScheduledTaskTestForceReschedule_Sche…TestReschedule_DropCancelled · introduced test · go.temporal.io/server/service/history/queues/TestReschdulerSuite/TestReschedule_DropCancelledTestReschedule_DropCance…TestReschedule_NoRescheduleLimit · introduced test · go.temporal.io/server/service/history/queues/TestReschdulerSuite/TestReschedule_NoRescheduleLimitTestReschedule_NoResched…TestReschedule_TaskChanFull · introduced test · go.temporal.io/server/service/history/queues/TestReschdulerSuite/TestReschedule_TaskChanFullTestReschedule_TaskChanF…TestStartStop · introduced test · go.temporal.io/server/service/history/queues/TestReschdulerSuite/TestStartStopTestStartStopTestAdd_NewTaskCannotBatched · introduced test · go.temporal.io/server/service/history/replication/TestSequentialBatchQueueSuite/TestAdd_NewTaskCannotBatchedTestAdd_NewTaskCannotBat…TestAdd_NewTaskIsAddedToQueueWhenBatchFailed · introduced test · go.temporal.io/server/service/history/replication/TestSequentialBatchQueueSuite/TestAdd_NewTaskIsAddedToQueueWhenBatchFailedTestAdd_NewTaskIsAddedTo…TestAdd_NewTaskTryToBatchWithLastTask · introduced test · go.temporal.io/server/service/history/replication/TestSequentialBatchQueueSuite/TestAdd_NewTaskTryToBatchWithLastTaskTestAdd_NewTaskTryToBatc…Focused concept · priority_queue.go ×1 · 3 introduced LOCpriority_queue.go ×1

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 3 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/collection/priority_queue.go 3 introduced LOC · 1 range

Open complete file

69
70 // Less implements sort.Interface
71 > func (pq *priorityQueueImpl[T]) Less(i, j int) bool { priority_queue.go
72 > return pq.compareLess(pq.items[i], pq.items[j])
73 > }
74
75 // Swap implements sort.Interface