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() |
processNextStart
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
public 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()
Step
public boolean getTimedOut()
public TimeLimitStep<S> clone()
Step
EmptyStep
.public int hashCode()
hashCode
in class AbstractStep<S,S>
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.