All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.api.agent.AttributeHolder Maven / Gradle / Ivy

There is a newer version: 8.16.0
Show newest version
package com.newrelic.api.agent;

import java.util.Map;


public interface AttributeHolder {

    /**
     * Adds/Replaces a numerical attribute.
     *
     * @since 6.1.0
     */
    void addCustomAttribute(String key, Number value);

    /**
     * Adds/Replaces a string attribute.
     *
     * @since 6.1.0
     */
    void addCustomAttribute(String key, String value);

    /**
     * Adds/Replaces a boolean attribute.
     *
     * @since 6.1.0
     */
    void addCustomAttribute(String key, boolean value);

    /**
     * Adds/Replaces key/value pairs.
     *
     * @since 6.1.0
     */
    void addCustomAttributes(Map attributes);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy