Package org.epics.archiverappliance.etl
Class ETLExecutor
- java.lang.Object
-
- org.epics.archiverappliance.etl.ETLExecutor
-
public class ETLExecutor extends Object
Run ETLs for one PV; mostly for unit tests..- Author:
- luofeng
-
-
Constructor Summary
Constructors Constructor Description ETLExecutor()
-
Method Summary
Modifier and Type Method Description static void
runETLs(ConfigService configService, Timestamp timeETLruns)
This should only be called from within unit tests...static void
runPvETLsBeforeOneStorage(ConfigService configService, Timestamp timeETLruns, String pvName, String storageName)
Run ETL for one PV until one storage; used in consolidate...
-
-
-
Method Detail
-
runETLs
public static void runETLs(ConfigService configService, Timestamp timeETLruns) throws IOException
This should only be called from within unit tests...- Parameters:
configService
- ConfigServicetimeETLruns
- Timestamp- Throws:
IOException
-
-
runPvETLsBeforeOneStorage
public static void runPvETLsBeforeOneStorage(ConfigService configService, Timestamp timeETLruns, String pvName, String storageName) throws IOException
Run ETL for one PV until one storage; used in consolidate... Make sure that the regular ETL has been paused..- Parameters:
configService
- ConfigServicetimeETLruns
- TimestamppvName
- The name of PV.storageName
-- Throws:
IOException
-
-
-