WangHan
2024-09-12 d5855a4926926698b740bc6c7ba489de47adb68b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package tech.powerjob.worker.annotation;
 
 
import java.lang.annotation.*;
 
/**
 * 方法级别的power-job调度
 * <a href="https://github.com/PowerJob/PowerJob/pull/610">PR#610</a>
 *
 * @author <a href="https://github.com/vannewang">vannewang</a>
 * @since 2023/4/6
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface PowerJobHandler {
 
 
    /**
     * handler name
     */
    String name();
 
 
 
}