public interface TraceStorageStrategy
Modifier and Type | Method and Description |
---|---|
RequestTrace |
getTraceForRemoval(Collection<RequestTrace> traces,
int maxSize)
Get the trace that needs removing.
|
RequestTrace |
getTraceForRemoval(Collection<RequestTrace> traces,
int maxSize,
RequestTrace traceToRemove) |
RequestTrace getTraceForRemoval(Collection<RequestTrace> traces, int maxSize)
traces
- the list of traces.maxSize
- the maximum size of the list.RequestTrace getTraceForRemoval(Collection<RequestTrace> traces, int maxSize, RequestTrace traceToRemove)
Copyright © 2019. All rights reserved.