@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface ActivityRegistrationOptions
ActivityWorker
Modifier and Type | Required Element and Description |
---|---|
long |
defaultTaskScheduleToStartTimeoutSeconds |
long |
defaultTaskStartToCloseTimeoutSeconds |
Modifier and Type | Optional Element and Description |
---|---|
long |
defaultTaskHeartbeatTimeoutSeconds
Default is
FlowConstants.NONE which disables separate heartbeat
timeout. |
String |
defaultTaskList
Task list that activity task is delivered through when no task list is
specified on activity invocation.
|
int |
defaultTaskPriority
Default is
FlowConstants.DEFAULT_TASK_PRIORITY if it
is not specified on activity invocation |
long |
defaultTaskScheduleToCloseTimeoutSeconds
Default is
FlowConstants.NONE . |
String |
description |
public abstract long defaultTaskScheduleToStartTimeoutSeconds
public abstract String description
public abstract long defaultTaskHeartbeatTimeoutSeconds
FlowConstants.NONE
which disables separate heartbeat
timeout.public abstract long defaultTaskScheduleToCloseTimeoutSeconds
FlowConstants.NONE
.public abstract String defaultTaskList
Default is FlowConstants.USE_WORKER_TASK_LIST
, which means to use task
list from the ActivityWorker
that the activity implementation is
registered with. Specify FlowConstants.NO_DEFAULT_TASK_LIST
to
not register any default task list. If no default task list registered it
becomes required scheduling option (specified through
ActivitySchedulingOptions.setTaskList(String)
) when an activity
is called.
public abstract int defaultTaskPriority
FlowConstants.DEFAULT_TASK_PRIORITY
if it
is not specified on activity invocationCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.