io.hyperfoil.clustering.AgentInfo Maven / Gradle / Ivy
package io.hyperfoil.clustering;
import java.util.HashMap;
import java.util.Map;
import io.hyperfoil.api.deployment.DeployedAgent;
import io.hyperfoil.api.session.PhaseInstance;
class AgentInfo {
final String name;
String address;
Status status = Status.STARTING;
Map phases = new HashMap<>();
DeployedAgent deployedAgent;
public AgentInfo(String name) {
this.name = name;
}
public enum Status {
STARTING,
REGISTERED,
INITIALIZING,
INITIALIZED,
STOPPED,
FAILED
}
}