Package org.duracloud.syncoptimize.test
Class SyncTester
- java.lang.Object
-
- org.duracloud.syncoptimize.test.SyncTester
-
public class SyncTester extends Object
Handles running a single sync action using the SyncTool and capturing the time required for the test to complete.- Author:
- Bill Branan Date: 5/16/14
-
-
Constructor Summary
Constructors Constructor Description SyncTester(SyncOptimizeConfig syncOptConfig, File dataDir, File workDir, ContentStore contentStore, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanupSync()protected SyncToolInitializergetSyncTool()longrunSyncTest(int threads)
-
-
-
Constructor Detail
-
SyncTester
public SyncTester(SyncOptimizeConfig syncOptConfig, File dataDir, File workDir, ContentStore contentStore, String prefix)
-
-
Method Detail
-
runSyncTest
public long runSyncTest(int threads)
-
getSyncTool
protected SyncToolInitializer getSyncTool()
-
cleanupSync
protected void cleanupSync()
-
-