edu.rice.cs.hpc.data.util.MergeDataFiles Class Reference

List of all members.

Public Types

enum  MergeDataAttribute { SUCCESS_MERGED, SUCCESS_ALREADY_CREATED, FAIL_NO_DATA }

Static Public Member Functions

static MergeDataAttribute merge (File directory, String globInputFile, String outputFile, IProgressReport progress) throws IOException, FileNotFoundException

Static Private Member Functions

static void insertMarker (DataOutputStream dos) throws IOException
static boolean isMergedFileCorrect (String filename) throws IOException
static boolean removeFiles (File files[])

Static Private Attributes

static final int PAGE_SIZE_GUESS = 4096
static final int PROC_POS = 5
static final int THREAD_POS = 4
static long MARKER_END_MERGED_FILE = 0xFFFFFFFFDEADF00Dl
 Magic marker for the end of the file.

Detailed Description

Definition at line 30 of file MergeDataFiles.java.


Member Enumeration Documentation

Enumerator:
SUCCESS_MERGED 
SUCCESS_ALREADY_CREATED 
FAIL_NO_DATA 

Definition at line 37 of file MergeDataFiles.java.


Member Function Documentation

static void edu.rice.cs.hpc.data.util.MergeDataFiles.insertMarker ( DataOutputStream  dos  )  throws IOException [static, private]
static boolean edu.rice.cs.hpc.data.util.MergeDataFiles.isMergedFileCorrect ( String  filename  )  throws IOException [static, private]
static MergeDataAttribute edu.rice.cs.hpc.data.util.MergeDataFiles.merge ( File  directory,
String  globInputFile,
String  outputFile,
IProgressReport  progress 
) throws IOException, FileNotFoundException [static]
static boolean edu.rice.cs.hpc.data.util.MergeDataFiles.removeFiles ( File  files[]  )  [static, private]

Definition at line 220 of file MergeDataFiles.java.

Referenced by edu.rice.cs.hpc.data.util.MergeDataFiles.merge().


Member Data Documentation

long edu.rice.cs.hpc.data.util.MergeDataFiles.MARKER_END_MERGED_FILE = 0xFFFFFFFFDEADF00Dl [static, private]

Definition at line 32 of file MergeDataFiles.java.

Referenced by edu.rice.cs.hpc.data.util.MergeDataFiles.merge().

final int edu.rice.cs.hpc.data.util.MergeDataFiles.PROC_POS = 5 [static, private]

Definition at line 34 of file MergeDataFiles.java.

Referenced by edu.rice.cs.hpc.data.util.MergeDataFiles.merge().

final int edu.rice.cs.hpc.data.util.MergeDataFiles.THREAD_POS = 4 [static, private]

Definition at line 35 of file MergeDataFiles.java.

Referenced by edu.rice.cs.hpc.data.util.MergeDataFiles.merge().


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1