Пример #1
0
 /** Reset inputs so that the test run would behave, input wise, as if it just started. */
 public synchronized void resetInputs() throws IOException {
   source.printStatistics("docs");
   // re-initiate since properties by round may have changed.
   setConfig(config);
   source.resetInputs();
   numDocsCreated.set(0);
   resetLeftovers();
 }
Пример #2
0
 @Override
 public void resetInputs() throws IOException {
   synchronized (lock) {
     super.resetInputs();
     close();
     nextFile = 0;
     iteration = 0;
   }
 }
Пример #3
0
 @Override
 public void resetInputs() throws IOException {
   super.resetInputs();
   openFile();
 }
 @Override
 public synchronized void resetInputs() throws IOException {
   super.resetInputs();
   inputFiles = new Iterator(dataDir);
   iteration = 0;
 }
 @Override
 public void resetInputs() throws IOException {
   super.resetInputs();
   is = getInputStream(file);
 }