public class TraversalOpProcessor extends AbstractOpProcessor
OpProcessor implementation that iterates remotely submitted serialized Traversal objects.| Modifier and Type | Field and Description |
|---|---|
static String |
OP_PROCESSOR_NAME |
static com.codahale.metrics.Timer |
traversalOpTimer |
manageTransactions| Constructor and Description |
|---|
TraversalOpProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeProcessing(Graph graph,
Context ctx) |
void |
close() |
String |
getName()
The name of the processor which requests must refer to "processor" field on a request.
|
protected void |
handleIterator(Context context,
Iterator itty,
Graph graph) |
protected void |
onError(Graph graph,
Context ctx) |
protected void |
onTraversalSuccess(Graph graph,
Context ctx) |
ThrowingConsumer<Context> |
select(Context context)
Given the context (which contains the RequestMessage), return back a Consumer function that will be
executed with the context.
|
attemptCommit, attemptRollback, determineIfTemporaryException, generateResultMetaData, generateStatusAttributes, handleIterator, isForceFlushed, iterateComplete, makeFrameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitpublic static final String OP_PROCESSOR_NAME
public static final com.codahale.metrics.Timer traversalOpTimer
public String getName()
OpProcessorpublic ThrowingConsumer<Context> select(Context context) throws OpProcessorException
OpProcessorOpProcessorExceptionprotected void handleIterator(Context context, Iterator itty, Graph graph) throws InterruptedException
InterruptedExceptionCopyright © 2013–2022 Apache Software Foundation. All rights reserved.