LiJinHuan
2024-01-05 462188a2c982b0a8750dfe01692dfd898216bb0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
global class FlexQueue {
    /**
     * set a job to run after another job
     */
    global static Boolean moveAfterJob(Id jobToMoveId, Id jobInQueueId) { }
    /**
     * set a job to run before another job
     */
    global static Boolean moveBeforeJob(Id jobToMoveId, Id jobInQueueId) { }
    /**
     * Move a job to the end of the queue
     */
    global static Boolean moveJobToEnd(Id jobId) { }
    /**
     * Move a job to the front of the queue
     */
    global static Boolean moveJobToFront(Id jobId) { }
 
}