com.transferwise.tasks.dao.MonitoringQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tw-tasks-core Show documentation
Show all versions of tw-tasks-core Show documentation
Transferwise Tasks Executor - Fire and forget until Alert.
package com.transferwise.tasks.dao;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Query does not need to provide real time or consecutively consistent results.
*/
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target(value = {METHOD})
public @interface MonitoringQuery {
// Alias for comment
String value() default "";
String[] comment() default {};
}