
com.microsoft.applicationinsights.extensibility.context.ComponentContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of applicationinsights-core Show documentation
Show all versions of applicationinsights-core Show documentation
This is the core module of Microsoft Application Insights Java SDK
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.applicationinsights.extensibility.context;
import com.microsoft.applicationinsights.internal.util.MapUtil;
import java.util.concurrent.ConcurrentMap;
public final class ComponentContext {
private final ConcurrentMap tags;
public ComponentContext(ConcurrentMap tags) {
this.tags = tags;
}
public void setVersion(String version) {
MapUtil.setStringValueOrRemove(tags, ContextTagKeys.getKeys().getApplicationVersion(), version);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy