public class BrachaTouegDeadlockMessage extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Field and Description |
---|---|
static long |
ACK
Bracha-Toueg ACK message.
|
static long |
CTRL_IN_EDGE
Bracha-Toueg control incoming-edge message
|
static long |
DONE
Bracha-Toueg DONE message.
|
static long |
GRANT
Bracha-Toueg GRANT message.
|
static long |
NOTIFY
Bracha-Toueg NOTICE message.
|
Constructor and Description |
---|
BrachaTouegDeadlockMessage()
Default empty constructor.
|
BrachaTouegDeadlockMessage(long id,
long type) |
Modifier and Type | Method and Description |
---|---|
long |
getSenderId() |
long |
getType() |
void |
readFields(DataInput input) |
String |
toString() |
void |
write(DataOutput output) |
public static final long NOTIFY
public static final long GRANT
public static final long ACK
public static final long DONE
public static final long CTRL_IN_EDGE
public BrachaTouegDeadlockMessage()
public BrachaTouegDeadlockMessage(long id, long type)
id
- id of the vertextype
- actual message contentpublic void readFields(DataInput input) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput output) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public long getSenderId()
public long getType()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.