All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hyperfoil.clustering.webcli.WebBenchmarkData Maven / Gradle / Ivy

There is a newer version: 0.27.1
Show newest version
package io.hyperfoil.clustering.webcli;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;

import io.hyperfoil.api.config.BenchmarkData;
import io.hyperfoil.cli.commands.BaseEditCommand;

class WebBenchmarkData implements BenchmarkData {
   final List files = new ArrayList<>();

   @Override
   public InputStream readFile(String file) {
      files.add(file);
      return BaseEditCommand.EMPTY_INPUT_STREAM;
   }

   @Override
   public Map files() {
      return Collections.emptyMap();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy