public class MigrationTools
extends java.lang.Object
Constructor and Description |
---|
MigrationTools() |
Modifier and Type | Method and Description |
---|---|
void |
doJob(java.lang.String statsDirectoryPath,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String eventDirectoryPath) |
static java.util.Set |
getExistingStatFiles(java.lang.String statsPath,
long oldDate,
long nowDate)
Return the list of stat files that exist between date1 and date2.
|
static MonitoredInputStream |
getStatStream(java.lang.String statsDirectoryPath,
long oldDate,
long nowDate)
Return the MonitoredInputStream of stat files that exist between date1 and
date2.
|
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args)
public void doJob(java.lang.String statsDirectoryPath, java.util.Date startDate, java.util.Date endDate, java.lang.String eventDirectoryPath)
public static MonitoredInputStream getStatStream(java.lang.String statsDirectoryPath, long oldDate, long nowDate)
statsDirectoryPath
- the directory which contains stats fileoldDate
- the date from which the analyse startnowDate
- the date from which the analyse endpublic static java.util.Set getExistingStatFiles(java.lang.String statsPath, long oldDate, long nowDate)
statsPath
- the directory which contains stats fileoldDate
- the date from which the analyse startnowDate
- the date from which the analyse endCopyright © 2001-2010 Jalios SA. All Rights Reserved.