public class Task extends Object
Constructor and Description |
---|
Task(Executor executor,
Integer taskId) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentId() |
List<Integer> |
getOutgoingTasks(Integer outTaskId,
String stream,
List<Object> values) |
List<Integer> |
getOutgoingTasks(String stream,
List<Object> values) |
Integer |
getTaskId() |
TaskMetrics |
getTaskMetrics() |
Object |
getTaskObject() |
Tuple |
getTuple(String stream,
List values) |
TopologyContext |
getUserContext() |
void |
sendToEventLogger(Executor executor,
List values,
String componentId,
Object messageId,
Random random,
Queue<AddressedTuple> overflow)
Send sampled data to the eventlogger if the global or component level debug flag is set (via nimbus api).
|
void |
sendUnanchored(String stream,
List<Object> values,
ExecutorTransfer transfer,
Queue<AddressedTuple> pendingEmits) |
String |
toString() |
public Task(Executor executor, Integer taskId) throws IOException
IOException
public List<Integer> getOutgoingTasks(Integer outTaskId, String stream, List<Object> values)
public Integer getTaskId()
public String getComponentId()
public TopologyContext getUserContext()
public Object getTaskObject()
public TaskMetrics getTaskMetrics()
public void sendUnanchored(String stream, List<Object> values, ExecutorTransfer transfer, Queue<AddressedTuple> pendingEmits)
public void sendToEventLogger(Executor executor, List values, String componentId, Object messageId, Random random, Queue<AddressedTuple> overflow)
Send sampled data to the eventlogger if the global or component level debug flag is set (via nimbus api).
Copyright © 2020 The Apache Software Foundation. All rights reserved.