public abstract class StaticVertexProgram<M> extends Object implements VertexProgram<M>
VertexProgram.Builder, VertexProgram.FeaturesVERTEX_PROGRAM| Constructor and Description | 
|---|
StaticVertexProgram()  | 
| Modifier and Type | Method and Description | 
|---|---|
StaticVertexProgram<M> | 
clone()
When multiple workers on a single machine need VertexProgram instances, it is possible to use clone. 
 | 
void | 
storeState(Configuration configuration)
When it is necessary to store the state of the VertexProgram, this method is called. 
 | 
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateVertexProgram, execute, getFeatures, getMapReducers, getMemoryComputeKeys, getMessageCombiner, getMessageScopes, getPreferredPersist, getPreferredResultGraph, getTraverserRequirements, getVertexComputeKeys, loadState, setup, terminate, workerIterationEnd, workerIterationStartpublic StaticVertexProgram<M> clone()
VertexProgramVertexProgram.storeState(Configuration) and VertexProgram.loadState(org.apache.tinkerpop.gremlin.structure.Graph, Configuration) model.
 The default implementation simply returns the object as it assumes that the VertexProgram instance is a stateless singleton.clone in interface VertexProgram<M>clone in class Objectpublic void storeState(Configuration configuration)
VertexProgramstoreState in interface VertexProgram<M>configuration - the configuration to store the state of the VertexProgram in.Copyright © 2013–2019 Apache Software Foundation. All rights reserved.