public final class GiraphMemory extends org.apache.giraph.master.MasterCompute implements Memory
Memory.Admin, Memory.Exceptions| Constructor and Description |
|---|
GiraphMemory() |
GiraphMemory(GiraphWorkerContext worker,
VertexProgram<?> vertexProgram) |
| Modifier and Type | Method and Description |
|---|---|
void |
and(String key,
boolean bool) |
void |
compute() |
boolean |
exists(String key) |
<R> R |
get(String key) |
int |
getIteration() |
long |
getRuntime() |
void |
incr(String key,
long delta) |
void |
initialize() |
Set<String> |
keys() |
void |
or(String key,
boolean bool) |
void |
readFields(DataInput input) |
void |
set(String key,
Object value) |
String |
toString() |
void |
write(DataOutput output) |
getAggregatedValue, getConf, getContext, getSuperstep, getTotalNumEdges, getTotalNumVertices, haltComputation, isHalted, registerAggregator, registerPersistentAggregator, setAggregatedValue, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasMap, isInitialIterationpublic GiraphMemory()
public GiraphMemory(GiraphWorkerContext worker, VertexProgram<?> vertexProgram)
public void initialize()
initialize in class org.apache.giraph.master.MasterComputepublic void compute()
compute in class org.apache.giraph.master.MasterComputepublic int getIteration()
getIteration in interface Memorypublic long getRuntime()
getRuntime in interface Memorypublic <R> R get(String key) throws IllegalArgumentException
get in interface MemoryIllegalArgumentExceptionpublic void write(DataOutput output)
write in interface org.apache.hadoop.io.Writablepublic void readFields(DataInput input)
readFields in interface org.apache.hadoop.io.WritableCopyright © 2013–2015 Apache Software Foundation. All rights reserved.