MCPcopy Create free account
hub / github.com/apache/storm / accept

Method accept

storm-client/src/jvm/org/apache/storm/executor/Executor.java:282–293  ·  view source on GitHub ↗
(Object event)

Source from the content-addressed store, hash-verified

280 public abstract void tupleActionFn(int taskId, TupleImpl tuple) throws Exception;
281
282 @Override
283 public void accept(Object event) {
284 AddressedTuple addressedTuple = (AddressedTuple) event;
285 int taskId = addressedTuple.getDest();
286
287 TupleImpl tuple = (TupleImpl) addressedTuple.getTuple();
288 if (isDebug) {
289 LOG.info("Processing received TUPLE: {} for TASK: {} ", tuple, taskId);
290 }
291
292 acceptTupleAction(taskId, tuple);
293 }
294
295 protected void acceptTupleAction(int taskId, TupleImpl tuple) {
296 try {

Callers

nothing calls this directly

Calls 3

getDestMethod · 0.95
getTupleMethod · 0.95
acceptTupleActionMethod · 0.95

Tested by

no test coverage detected