Package dev.frostlake.task
Class UserTaskCancellation
java.lang.Object
dev.frostlake.task.UserTaskCancellation
The one implementation of
SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONS('task_name'), shared
by the three surfaces that can reach it: the registered table function, and the two expression
paths (SELECT SYSTEM$…() and SET v = SYSTEM$…()).
It cancels executions, not the task — a started task is still started afterwards. The name is echoed into the message exactly as it was passed while the lookup ignores case, and an unknown name raises rather than answering with a status row.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcancel(Catalog catalog, TaskScheduler scheduler, String taskName) The status line for cancellingtaskName's in-flight runs.
-
Method Details
-
cancel
The status line for cancellingtaskName's in-flight runs.schedulermay be null where one was never wired up, which reads as nothing being in flight.
-