io.opentelemetry.javaagent.instrumentation.vaadin.VaadinServiceContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-javaagent-vaadin-14.2 Show documentation
Show all versions of opentelemetry-javaagent-vaadin-14.2 Show documentation
Instrumentation of Java libraries using OpenTelemetry.
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.vaadin;
public final class VaadinServiceContext {
private boolean requestHandled;
private String spanNameCandidate;
void setRequestHandled() {
requestHandled = true;
}
boolean isRequestHandled() {
return requestHandled;
}
void setSpanNameCandidate(String spanNameCandidate) {
this.spanNameCandidate = spanNameCandidate;
}
String getSpanNameCandidate() {
return spanNameCandidate;
}
}