public final class DFWIOUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_SIZE |
static int |
SHORT_HEADER_SIZE |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildHeader(DataBuffer buffer,
OutMessage sendMessage,
int noOfMessages)
Builds the header of the message.
|
static java.lang.String |
getOperationName(int target,
DataFlowOperation op,
int refresh) |
static boolean |
sendFinalSyncForward(int target,
SyncState syncState,
java.util.Map<java.lang.Integer,byte[]> barriers,
DataFlowOperation operation,
java.util.Map<java.lang.Integer,java.lang.Boolean> isSyncSent) |
static boolean |
sendSyncForward(int target,
SyncState syncState,
java.util.Map<java.lang.Integer,byte[]> barriers,
DataFlowOperation operation,
java.util.Map<java.lang.Integer,java.lang.Boolean> isSyncSent) |
public static final int HEADER_SIZE
public static final int SHORT_HEADER_SIZE
public static java.lang.String getOperationName(int target,
DataFlowOperation op,
int refresh)
public static void buildHeader(DataBuffer buffer, OutMessage sendMessage, int noOfMessages)
buffer - the buffer to which the header is placedsendMessage - the message that the header is build fornoOfMessages - number of messages in this single messagepublic static boolean sendSyncForward(int target,
SyncState syncState,
java.util.Map<java.lang.Integer,byte[]> barriers,
DataFlowOperation operation,
java.util.Map<java.lang.Integer,java.lang.Boolean> isSyncSent)
public static boolean sendFinalSyncForward(int target,
SyncState syncState,
java.util.Map<java.lang.Integer,byte[]> barriers,
DataFlowOperation operation,
java.util.Map<java.lang.Integer,java.lang.Boolean> isSyncSent)