Annotation Interface UpdateMethod
Indicates that the method is an update handler method. An update method gets executed when a
workflow receives an update after the validator is called.
This annotation applies only to workflow interface methods.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionShort description of the update handler.Name of the update handler.Sets the actions taken if a workflow exits with a running instance of this handler.
-
Element Details
-
name
String nameName of the update handler. Default is method 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.
Name cannot start with __temporal as it is reserved for internal use.
- Default:
""
-
description
-
unfinishedPolicy
HandlerUnfinishedPolicy unfinishedPolicySets the actions taken if a workflow exits with a running instance of this handler.- Default:
WARN_AND_ABANDON
-