Package com.newrelic.api.agent
Interface AttributeHolder
-
- All Known Subinterfaces:
Segment
,TracedMethod
public interface AttributeHolder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addCustomAttribute(java.lang.String key, boolean value)
Adds/Replaces a boolean attribute.void
addCustomAttribute(java.lang.String key, java.lang.Number value)
Adds/Replaces a numerical attribute.void
addCustomAttribute(java.lang.String key, java.lang.String value)
Adds/Replaces a string attribute.void
addCustomAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Adds/Replaces key/value pairs.
-
-
-
Method Detail
-
addCustomAttribute
void addCustomAttribute(java.lang.String key, java.lang.Number value)
Adds/Replaces a numerical attribute.- Since:
- 6.1.0
-
addCustomAttribute
void addCustomAttribute(java.lang.String key, java.lang.String value)
Adds/Replaces a string attribute.- Since:
- 6.1.0
-
addCustomAttribute
void addCustomAttribute(java.lang.String key, boolean value)
Adds/Replaces a boolean attribute.- Since:
- 6.1.0
-
addCustomAttributes
void addCustomAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Adds/Replaces key/value pairs.- Since:
- 6.1.0
-
-