Package com.uber.cadence.internal.worker
Class LocallyDispatchedActivityWorker.Task
- java.lang.Object
-
- com.uber.cadence.internal.worker.LocallyDispatchedActivityWorker.Task
-
- Enclosing class:
- LocallyDispatchedActivityWorker
public static class LocallyDispatchedActivityWorker.Task extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
await()
void
notify(boolean ready)
-
-
-
Field Detail
-
workflowExecution
protected final WorkflowExecution workflowExecution
-
activityId
protected final java.lang.String activityId
-
activityType
protected final ActivityType activityType
-
input
protected final java.nio.ByteBuffer input
-
scheduleToCloseTimeoutSeconds
protected final int scheduleToCloseTimeoutSeconds
-
startToCloseTimeoutSeconds
protected final int startToCloseTimeoutSeconds
-
heartbeatTimeoutSeconds
protected final int heartbeatTimeoutSeconds
-
workflowType
protected final WorkflowType workflowType
-
workflowDomain
protected final java.lang.String workflowDomain
-
header
protected final Header header
-
scheduledTimestamp
protected long scheduledTimestamp
-
scheduledTimestampOfThisAttempt
protected long scheduledTimestampOfThisAttempt
-
startedTimestamp
protected long startedTimestamp
-
taskToken
protected java.nio.ByteBuffer taskToken
-
-
Constructor Detail
-
Task
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)
-
-