public class TraceEquivalence extends com.google.common.base.Equivalence<Trace>
Trace
s using the class Equivalence
. Therefore,
it provides the ability to wrap Trace
s with adequate equals()
and hashCode()
methods using its #wrap(Trace)
method.
With this class, two Traces
s are considered equal iff both the root OperationCall
are
considered equal using the OperationCallEquivalence
or a specified Equivalence
.Constructor and Description |
---|
TraceEquivalence(boolean considerFailed) |
TraceEquivalence(com.google.common.base.Equivalence<OperationCall> operationCallEquivalence) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doEquivalent(Trace traceA,
Trace traceB) |
protected int |
doHash(Trace trace) |
equals, equivalent, equivalentTo, hash, identity, onResultOf, pairwise, test, wrap
public TraceEquivalence(boolean considerFailed)
public TraceEquivalence(com.google.common.base.Equivalence<OperationCall> operationCallEquivalence)
Copyright 2020 Kieker Project, http://kieker-monitoring.net