All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.mhuang.pacebox.springboot.rediskafkamiddle.annaotion.RedisKafka Maven / Gradle / Ivy

There is a newer version: 2023.0.0.0
Show newest version
package tech.mhuang.pacebox.springboot.rediskafkamiddle.annaotion;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 注解
 *
 * @author mhuang
 * @since 1.0.0
 */
@Documented
@Retention(RUNTIME)
@Target(METHOD)
public @interface RedisKafka {

    /**
     * 是否不能重复执行(业务处理)
     *
     * @return 默认不能重复
     */
    boolean notRepeat() default true;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy