Skip to content
Snippets Groups Projects
Commit be7a2313 authored by Sören Henning's avatar Sören Henning
Browse files

Add parent field

parent 60a2b084
No related branches found
No related tags found
1 merge request!17Get impletemented stages and Java 8
......@@ -24,6 +24,7 @@ package kieker.analysis.traceanalysisdomain;
*/
public final class AggregatedOperationCall extends AbstractOperationCall<AggregatedOperationCall> {
private AggregatedOperationCall parent;
private long totalDuration;
private long medianDuration;
private long minDuration;
......@@ -57,6 +58,16 @@ public final class AggregatedOperationCall extends AbstractOperationCall<Aggrega
this.setFailedCause(failedCause);
}
public AggregatedOperationCall getParent() {
return parent;
}
@Override
public void addChild(final AggregatedOperationCall child) {
super.addChild(child);
child.parent = this;
}
public long getTotalDuration() {
return this.totalDuration;
}
......
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