public class SingleLook extends DAXWriter
Modifier and Type | Class and Description |
---|---|
private class |
SingleLook.MyCallBackHandler
The internal callback handler for the DAXParser in Euryale.
|
Modifier and Type | Field and Description |
---|---|
private int |
mCurrentNum
The number of jobs about which the callback interface has knowledge.
|
private boolean |
mDAXInMemory
The flag to identify that dax is in memory.
|
private Map |
mJobMap
The map containing all the jobs in the dax indexed by the job id.
|
private Set |
mNodeSet
The set of job id's in the partition.
|
private int |
mNumOfJobs
The number of jobs that are in the partition.
|
private org.griphyn.vdl.dax.ADAG |
mPartADAG
The ADAG object containing the partitioned dax.
|
private Map |
mRelationsMap
A map containing the relations between the jobs making up the partition.
|
mDaxFile, mLogger, mPartitionName, mPDAXDirectory, mWriteHandle, PACKAGE_NAME, PARTITION_PREFIX
Constructor and Description |
---|
SingleLook(String daxFile,
String directory)
The overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
writePartitionDax(Partition partition,
int index)
It writes out a dax consisting of the jobs as specified in the partition.
|
close, getPartitionName, getPDAXFilename, getPDAXFilename, initializeWriteHandle, initializeWriteHandle, loadInstance, loadInstance, setPartitionName, writeln, writePartitionDax
private Set mNodeSet
private Map mRelationsMap
private org.griphyn.vdl.dax.ADAG mPartADAG
private int mNumOfJobs
private int mCurrentNum
private boolean mDAXInMemory
private Map mJobMap
public boolean writePartitionDax(Partition partition, int index)
writePartitionDax
in class DAXWriter
partition
- the partition object containing the relations and id's
of the jobs making up the partition.index
- the index of the partition.