public final class TimeLimitStep<S> extends FilterStep<S>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
TimeLimitStep(Traversal.Admin traversal,
long timeLimit) |
| Modifier and Type | Method and Description |
|---|---|
TimeLimitStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
protected boolean |
filter(Traverser.Admin<S> traverser) |
boolean |
getTimedOut() |
int |
hashCode() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
String |
toString() |
processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitequals, getRequirementsforEachRemaining, removepublic TimeLimitStep(Traversal.Admin traversal, long timeLimit)
protected boolean filter(Traverser.Admin<S> traverser)
filter in class FilterStep<S>public String toString()
toString in class AbstractStep<S,S>public void reset()
Steppublic boolean getTimedOut()
public TimeLimitStep<S> clone()
StepEmptyStep.public int hashCode()
hashCode in class AbstractStep<S,S>Copyright © 2013–2016 Apache Software Foundation. All rights reserved.