public class FulgoraMemory extends Object implements org.apache.tinkerpop.gremlin.process.computer.Memory.Admin
Modifier and Type | Field and Description |
---|---|
Map<String,Optional<Object>> |
currentMap |
Map<String,org.apache.tinkerpop.gremlin.process.computer.MemoryComputeKey> |
memoryKeys |
Map<String,Optional<Object>> |
previousMap |
Constructor and Description |
---|
FulgoraMemory(org.apache.tinkerpop.gremlin.process.computer.VertexProgram<?> vertexProgram,
Set<org.apache.tinkerpop.gremlin.process.computer.MapReduce> mapReducers) |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
Object value) |
protected void |
attachReferenceElements(org.apache.tinkerpop.gremlin.structure.Graph graph) |
protected void |
complete() |
protected void |
completeSubRound() |
<R> R |
get(String key) |
int |
getIteration() |
long |
getRuntime() |
void |
incrIteration() |
boolean |
isInitialIteration() |
Set<String> |
keys() |
void |
set(String key,
Object value) |
void |
setIteration(int iteration) |
void |
setRuntime(long runTime) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public final Map<String,org.apache.tinkerpop.gremlin.process.computer.MemoryComputeKey> memoryKeys
public FulgoraMemory(org.apache.tinkerpop.gremlin.process.computer.VertexProgram<?> vertexProgram, Set<org.apache.tinkerpop.gremlin.process.computer.MapReduce> mapReducers)
public Set<String> keys()
keys
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
public void incrIteration()
incrIteration
in interface org.apache.tinkerpop.gremlin.process.computer.Memory.Admin
public void setIteration(int iteration)
setIteration
in interface org.apache.tinkerpop.gremlin.process.computer.Memory.Admin
public int getIteration()
getIteration
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
public void setRuntime(long runTime)
setRuntime
in interface org.apache.tinkerpop.gremlin.process.computer.Memory.Admin
public long getRuntime()
getRuntime
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
protected void complete()
protected void completeSubRound()
public boolean isInitialIteration()
isInitialIteration
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
public <R> R get(String key) throws IllegalArgumentException
get
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
IllegalArgumentException
public void add(String key, Object value)
add
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
public void set(String key, Object value)
set
in interface org.apache.tinkerpop.gremlin.process.computer.Memory
protected void attachReferenceElements(org.apache.tinkerpop.gremlin.structure.Graph graph)
Copyright © 2012–2024. All rights reserved.