public interface TraceStorageStrategy
| Modifier and Type | Method and Description |
|---|---|
RequestTrace |
getTraceForRemoval(Collection<RequestTrace> traces,
int maxSize,
RequestTrace traceToRemove)
Get the trace that needs removing suggesting a candidate that should be chosen in case it is contained in the
given list of traces.
|
RequestTrace getTraceForRemoval(Collection<RequestTrace> traces, int maxSize, RequestTrace traceToRemove)
traces - the list of traces to test.maxSize - the maximum size of the list.traceToRemove - the trace to remove if present or null if no particular candidate if favouredCopyright © 2021. All rights reserved.