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

io.hyperfoil.api.deployment.Deployer Maven / Gradle / Ivy

There is a newer version: 0.27
Show newest version
package io.hyperfoil.api.deployment;

import java.io.Closeable;
import java.util.function.Consumer;

import io.hyperfoil.api.config.Agent;
import io.hyperfoil.api.config.Benchmark;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;

public interface Deployer extends Closeable {

   DeployedAgent start(Agent agent, String runId, Benchmark benchmark, Consumer exceptionHandler);

   boolean hasControllerLog();

   void downloadControllerLog(long offset, String destinationFile, Handler> handler);

   void downloadAgentLog(DeployedAgent deployedAgent, long offset, String destinationFile, Handler> handler);

   interface Factory {
      String name();

      Deployer create();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy