Annotation Interface Workload
Assigns a Cockroach vCluster workload priority to the annotated method, mapped
to CockroachDB admission-control quality-of-service and applied as
SET LOCAL default_transaction_quality_of_service for the transaction.
Most useful alongside VirtualCluster. The aspect fires on
@VirtualCluster; a method carrying @Workload without
@VirtualCluster should also carry @VirtualCluster (or use the
programmatic VirtualClusterContext) for the QoS to be applied.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWorkload priority classes and their CockroachDB QoS mapping. -
Required Element Summary
Required Elements
-
Element Details
-
value
Workload.Priority valueThe workload priority class.
-