io.vertx.ext.unit.impl.Result Maven / Gradle / Ivy
package io.vertx.ext.unit.impl;
import java.util.Map;
/**
* @author Julien Viet
*/
public class Result {
final long beginTime;
final long endTime;
final Throwable failure;
Result(long beginTime, long endTime, Throwable failure) {
this.beginTime = beginTime;
this.endTime = endTime;
this.failure = failure;
}
long duration() {
return endTime - beginTime;
}
public Throwable getFailure() {
return failure;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy