Skip to content
Snippets Groups Projects
Commit 1ba372e5 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Added some missing values

parent 9194e92d
No related branches found
No related tags found
No related merge requests found
package kieker.gui.model.importer.stages;
import kieker.gui.model.domain.ExecutionEntry;
import teetime.framework.AbstractConsumerStage;
import teetime.framework.OutputPort;
public final class FailedTraceFilter extends AbstractConsumerStage<ExecutionEntry> {
private final OutputPort<ExecutionEntry> outputPort = super.createOutputPort();
@Override
protected void execute(final ExecutionEntry element) {
if (element.isFailed()) {
this.outputPort.send(element);
}
}
public OutputPort<ExecutionEntry> getOutputPort() {
return this.outputPort;
}
}
...@@ -284,9 +284,11 @@ public class AggregatedTracesSubView implements Observer { ...@@ -284,9 +284,11 @@ public class AggregatedTracesSubView implements Observer {
operationString = operationString.substring(lastPointPos + 1); operationString = operationString.substring(lastPointPos + 1);
} }
if (parent != null) { if (parent != null) {
item.setText(new String[] { executionEntry.getContainer(), componentName, operationString, "" }); item.setText(new String[] { executionEntry.getContainer(), componentName, operationString, "",
Long.toString(executionEntry.getMinDuration()), Long.toString(executionEntry.getAvgDuration()), Long.toString(executionEntry.getMaxDuration()) });
} else { } else {
item.setText(new String[] { executionEntry.getContainer(), componentName, operationString, Integer.toString(executionEntry.getCalls()) }); item.setText(new String[] { executionEntry.getContainer(), componentName, operationString, Integer.toString(executionEntry.getCalls()),
Long.toString(executionEntry.getMinDuration()), Long.toString(executionEntry.getAvgDuration()), Long.toString(executionEntry.getMaxDuration()) });
} }
if (executionEntry.isFailed()) { if (executionEntry.isFailed()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment