@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface QueryMethod
Query methods must never change any workflow state including starting activities or block threads in any way.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Name of the query type.
|
public abstract java.lang.String name
Be careful about names that contain special characters. These names can be used as metric tags. And systems like prometheus ignore metrics which have tags with unsupported characters.