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

Method execute

storm-client/src/jvm/org/apache/storm/executor/Executor.java:269–278  ·  view source on GitHub ↗

separated from mkExecutor in order to replace executor transfer in executor data for testing.

()

Source from the content-addressed store, hash-verified

267 * separated from mkExecutor in order to replace executor transfer in executor data for testing.
268 */
269 public ExecutorShutdown execute() throws Exception {
270 LOG.info("Loading executor tasks " + componentId + ":" + executorId);
271
272 String handlerName = componentId + "-executor" + executorId;
273 Utils.SmartThread handler =
274 Utils.asyncLoop(this, false, reportErrorDie, Thread.NORM_PRIORITY, true, true, handlerName);
275
276 LOG.info("Finished loading executor " + componentId + ":" + executorId);
277 return new ExecutorShutdown(this, Lists.newArrayList(handler), idToTask, receiveQueue);
278 }
279
280 public abstract void tupleActionFn(int taskId, TupleImpl tuple) throws Exception;
281

Callers 1

loadWorkerMethod · 0.95

Calls 1

asyncLoopMethod · 0.95

Tested by

no test coverage detected