* from the @SpanName annotation on the class if one is present.
* from the @SpanName annotation on the method if passed object is of a Method.
type
* from the toString() of the delegate if it's not the default
Object#toString().
* the default provided value.
SpanName
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SpanName | |
| private static boolean | |
| public String | name(Object
- object for which span name should be picked object, String - the default valued to be returned if span name can't be
calculated defaultValue)Implements io. |
| DefaultSpanNamer | back to summary |
|---|---|
| public DefaultSpanNamer() | |
| annotation | back to summary |
|---|---|
| private SpanName annotation(Object o) | |
| isDefaultToString | back to summary |
|---|---|
| private static boolean isDefaultToString(Object delegate, String spanName) | |
| name | back to summary |
|---|---|
| public String name(Object object, String defaultValue) Implements io. Doc from io. Retrieves the span name for the given object. | |