Package org.duracloud.syncoptimize.data
Class TestDataHandler
- java.lang.Object
-
- org.duracloud.syncoptimize.data.TestDataHandler
-
public class TestDataHandler extends Object
Handles the creation and deletion of local test content. This is the content which is transferred to DuraCloud as each sync test is run.- Author:
- Bill Branan Date: 5/16/14
-
-
Constructor Summary
Constructors Constructor Description TestDataHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateDirectories(File... dirs)voidcreateTestData(File dataDir, int numFiles, int xMB)voidremoveDirectories(File... dirs)
-
-
-
Method Detail
-
createDirectories
public void createDirectories(File... dirs) throws IOException
- Throws:
IOException
-
removeDirectories
public void removeDirectories(File... dirs) throws IOException
- Throws:
IOException
-
createTestData
public void createTestData(File dataDir, int numFiles, int xMB) throws IOException
- Throws:
IOException
-
-