public class BrachaTouegDeadlockComputation extends BasicComputation<org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockVertexValue,org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockMessage>
| Modifier and Type | Field and Description | 
|---|---|
| static LongConfOption | BRACHA_TOUEG_DL_INITIATOR_IDThe deadlock detection initiator id | 
| Constructor and Description | 
|---|
| BrachaTouegDeadlockComputation() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | compute(Vertex<org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockVertexValue,org.apache.hadoop.io.LongWritable> vertex,
       Iterable<BrachaTouegDeadlockMessage> messages)Must be defined by user to do computation on a single Vertex. | 
addEdgeRequest, addVertexRequest, addVertexRequest, getContext, getMyWorkerIndex, getSuperstep, getTotalNumEdges, getTotalNumVertices, getWorkerContext, getWorkerCount, getWorkerForVertex, initialize, postSuperstep, preSuperstep, removeEdgesRequest, removeVertexRequest, sendMessage, sendMessageToAllEdges, sendMessageToMultipleEdgesaggregate, getAggregatedValue, getBroadcast, reduce, reduceMerge, setWorkerGlobalCommUsagegetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfsetConfgetBroadcastreduce, reduceMergeaggregategetAggregatedValuepublic static final LongConfOption BRACHA_TOUEG_DL_INITIATOR_ID
public void compute(Vertex<org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockVertexValue,org.apache.hadoop.io.LongWritable> vertex, Iterable<BrachaTouegDeadlockMessage> messages) throws IOException
AbstractComputationcompute in interface Computation<org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockVertexValue,org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockMessage,BrachaTouegDeadlockMessage>compute in class AbstractComputation<org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockVertexValue,org.apache.hadoop.io.LongWritable,BrachaTouegDeadlockMessage,BrachaTouegDeadlockMessage>vertex - Vertexmessages - Messages that were sent to this vertex in the previous
                 superstep.  Each message is only guaranteed to have
                 a life expectancy as long as next() is not called.IOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.