Package org.epics.archiverappliance.etl
Class ETLExecutor
java.lang.Object
org.epics.archiverappliance.etl.ETLExecutor
Run ETLs for one PV; mostly for unit tests..
- Author:
- luofeng
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidmoveDataFromOneStorageToAnother(ConfigService configService, String pvName, String storageName, String destStr) Run ETL for one PV until one storage; used in consolidate...static voidrunETLs(ConfigService configService, Instant timeETLruns) This should only be called from within unit tests...static voidrunPvETLsBeforeOneStorage(ConfigService configService, Instant timeETLRuns, String pvName, String storageName) Run ETL for one PV until one storage; used in consolidate...
-
Constructor Details
-
ETLExecutor
public ETLExecutor()
-
-
Method Details
-
runETLs
This should only be called from within unit tests...- Parameters:
configService- ConfigServicetimeETLruns- Instant- Throws:
IOException-
-
runPvETLsBeforeOneStorage
public static void runPvETLsBeforeOneStorage(ConfigService configService, Instant 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- InstantpvName- The name of PV.storageName-- Throws:
IOException-
-
moveDataFromOneStorageToAnother
public static void moveDataFromOneStorageToAnother(ConfigService configService, String pvName, String storageName, String destStr) throws IOException Run ETL for one PV until one storage; used in consolidate... Make sure that the regular ETL has been paused..- Parameters:
configService- ConfigServicepvName- The name of PV.storageName-- Throws:
IOException-
-