# Functions
AdjustedPriorityWhenHoldingLocks takes the original priority of a transaction and updates it under the knowledge that the transaction is holding locks.
WorkClassFromPri translates a WorkPriority to its given WorkClass.
# Constants
BulkNormalPri is bulk priority work from bulk jobs, which could be run due to user submissions or be automatic.
ElasticWorkClass is for work corresponding to workloads that can handle reduced throughput, possibly by taking longer to finish a workload.
HighPri is high priority work.
LockingNormalPri is used for user normal priority transactions that are acquiring locks.
LockingUserHighPri is for user high priority transactions that are acquiring locks.
LowPri is low priority work.
NormalPri is normal priority work.
NumWorkClasses is the number of work classes.
OneAboveHighPri is one priority level above the highest priority.
RegularWorkClass is for work corresponding to workloads that are throughput and latency sensitive.
TTLLowPri is low priority work from TTL internal submissions.
UserHighPri is high priority work from user submissions (SQL).
UserLowPri is low priority work from user submissions (SQL).
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestingReverseWorkPriorityDict is the reverse-lookup dictionary for WorkPriorityDict, for use in tests.
WorkPriorityDict is a mapping of the priorities to a short string name.
# Structs
AdmissionWorkQueueStats is recorded for work items waiting in the admission work queue.
IOThreshold wraps the raw signals that IO admission control utilizes to determine when to introduce queueing.
# Type aliases
WorkClass represents the class of work, which is defined entirely by its WorkPriority.
WorkPriority represents the priority of work.