public interface SpanningOperationHolder
SpanningOperation
to be used later on when events are created.
Currently there is only one implementation that uses ThreadLocal
.Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears spanning operation
|
SpanningOperation |
get() |
SpanningOperation |
pop()
Pops spanning operation and:
- if popped spanning operation has parent then this parent is set as current spanning operation
- if popped spanning operation doesn't have parent then current spanning operation is set to null
|
SpanningOperation |
push(SpanningOperation spanningOperation)
Stores passed spanning operation:
- if there is no spanning operation yet then passed spanning operation is stored.
|
void |
set(SpanningOperation spanningOperation)
Stores new spanning operation
|
@Nullable SpanningOperation get()
void set(SpanningOperation spanningOperation)
spanningOperation
- void clear()
@Nullable SpanningOperation pop()
SpanningOperation push(@Nonnull SpanningOperation spanningOperation)
spanningOperation
is stored as current operation and existing spanning operation is set as its parentspanningOperation
- Copyright © 2002-2024 Atlassian. All Rights Reserved.