public interface GraphComputing
GraphComputing
step is one that will change its behavior whether its on a GraphComputer
or not.
ComputerVerificationStrategy
is responsible for calling the onGraphComputer()
method.
This method is only called for global children steps of a TraversalParent
.Modifier and Type | Method and Description |
---|---|
default void |
atMaster(boolean atMaster)
Some steps should behave different whether they are executing at the master traversal or distributed across the worker traversals.
|
static void |
atMaster(Step<?,?> step,
boolean atMaster) |
void |
onGraphComputer()
The step will be executing on a
GraphComputer . |
void onGraphComputer()
GraphComputer
.default void atMaster(boolean atMaster)
atMaster
- whether the step is currently executing at masterstatic void atMaster(Step<?,?> step, boolean atMaster)
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.