public static class LocallyDispatchedActivityWorker.Task
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
activityId |
protected ActivityType |
activityType |
protected Header |
header |
protected int |
heartbeatTimeoutSeconds |
protected java.nio.ByteBuffer |
input |
protected long |
scheduledTimestamp |
protected long |
scheduledTimestampOfThisAttempt |
protected int |
scheduleToCloseTimeoutSeconds |
protected long |
startedTimestamp |
protected int |
startToCloseTimeoutSeconds |
protected java.nio.ByteBuffer |
taskToken |
protected java.lang.String |
workflowDomain |
protected WorkflowExecution |
workflowExecution |
protected WorkflowType |
workflowType |
Constructor and Description |
---|
Task(java.lang.String activityId,
ActivityType activityType,
java.nio.ByteBuffer input,
int scheduleToCloseTimeoutSeconds,
int startToCloseTimeoutSeconds,
int heartbeatTimeoutSeconds,
WorkflowType workflowType,
java.lang.String workflowDomain,
Header header,
WorkflowExecution workflowExecution) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
await() |
void |
notify(boolean ready) |
protected final WorkflowExecution workflowExecution
protected final java.lang.String activityId
protected final ActivityType activityType
protected final java.nio.ByteBuffer input
protected final int scheduleToCloseTimeoutSeconds
protected final int startToCloseTimeoutSeconds
protected final int heartbeatTimeoutSeconds
protected final WorkflowType workflowType
protected final java.lang.String workflowDomain
protected final Header header
protected long scheduledTimestamp
protected long scheduledTimestampOfThisAttempt
protected long startedTimestamp
protected java.nio.ByteBuffer taskToken
public Task(java.lang.String activityId, ActivityType activityType, java.nio.ByteBuffer input, int scheduleToCloseTimeoutSeconds, int startToCloseTimeoutSeconds, int heartbeatTimeoutSeconds, WorkflowType workflowType, java.lang.String workflowDomain, Header header, WorkflowExecution workflowExecution)