public interface SpanStorage
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_SPANS |
static long |
MILLIS_PER_SECOND |
static long |
NANOS_PER_SECOND |
Modifier and Type | Method and Description |
---|---|
void |
addSpan(Span s)
Add a span.
|
List<Span> |
getAllSpans()
Return a list of all spans currently stored.
|
List<Span> |
getSpansInRange(long start,
long end)
Return a list of all spans that fall within the time given range.
|
void |
setMaxSpans(long maxSpans)
Set the maximum number of spans to have in storage at any given time.
|
static final long DEFAULT_MAX_SPANS
static final long MILLIS_PER_SECOND
static final long NANOS_PER_SECOND
void addSpan(Span s)
s
- void setMaxSpans(long maxSpans)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.