
com.fimet.exe.StressResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fimet-exe Show documentation
Show all versions of fimet-exe Show documentation
Execution implementarion of usecases and stress test for ISO8583
The newest version!
package com.fimet.exe;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
public class StressResult implements IResult {
private String name;
private AtomicInteger numOfInjectors = new AtomicInteger(0);
private AtomicLong startTime = new AtomicLong(0);
private AtomicLong finishTime = new AtomicLong(0);
private List injectorResults;
public StressResult() {
}
public String getName() {
return name;
}
void setName(String name) {
this.name = name;
}
public int getNumOfInjectors() {
return numOfInjectors.get();
}
void setNumOfInjectors(int numOfUseCases) {
this.numOfInjectors.set(numOfUseCases);
}
int getNumOfInjectorsAndIncrement() {
return numOfInjectors.getAndIncrement();
}
public long getStartTime() {
return startTime.get();
}
void setStartTime(long startTime) {
this.startTime.set(startTime);
}
public long getFinishTime() {
return finishTime.get();
}
void setFinishTime(long finishTime) {
this.finishTime.set(finishTime);
}
public List getInjectorResults() {
return injectorResults;
}
void setInjectorResults(List injectorResults) {
this.injectorResults = injectorResults;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy