@Immutable public abstract static class SpanData.Attributes extends Object
Modifier and Type | Method and Description |
---|---|
static SpanData.Attributes |
create(Map<String,AttributeValue> attributeMap,
int droppedAttributesCount)
Returns a new immutable
Attributes . |
abstract Map<String,AttributeValue> |
getAttributeMap()
Returns the set of attributes.
|
abstract int |
getDroppedAttributesCount()
Returns the number of dropped attributes.
|
public static SpanData.Attributes create(Map<String,AttributeValue> attributeMap, int droppedAttributesCount)
Attributes
.attributeMap
- the set of attributes.droppedAttributesCount
- the number of dropped attributes.Attributes
.public abstract Map<String,AttributeValue> getAttributeMap()
public abstract int getDroppedAttributesCount()