@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ActivityMethod
ActivityOptions
and ActivityMethod
have non default value for some
parameter the ActivityOptions
one takes precedence.Modifier and Type | Optional Element and Description |
---|---|
int |
heartbeatTimeoutSeconds
Heartbeat interval.
|
java.lang.String |
name
Name of the workflow type.
|
int |
scheduleToCloseTimeoutSeconds
Overall timeout workflow is willing to wait for activity to complete.
|
int |
scheduleToStartTimeoutSeconds
Time activity can stay in task list before it is picked up by a worker.
|
int |
startToCloseTimeoutSeconds
Maximum activity execution time after it was sent to a worker.
|
java.lang.String |
taskList
Task list to use when dispatching activity task to a worker.
|
public abstract java.lang.String name
public abstract int scheduleToCloseTimeoutSeconds
scheduleToStartTimeoutSeconds()
to limit it) plus activity execution
time (use startToCloseTimeoutSeconds()
to limit it). Either this option or both
schedule to start and start to close are required.public abstract int scheduleToStartTimeoutSeconds
public abstract int startToCloseTimeoutSeconds