Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename setSetEmit... to internalSetEmit... #13034

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class ApacheHttpClientTelemetryBuilder {
private final OpenTelemetry openTelemetry;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<ApacheHttpClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class ApacheHttpClientTelemetryBuilder {
private final OpenTelemetry openTelemetry;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<ApacheHttpClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class ArmeriaClientTelemetryBuilder {

static {
ArmeriaInstrumenterBuilderUtil.setClientBuilderExtractor(builder -> builder.builder);
Experimental.setSetEmitExperimentalClientTelemetry(
Experimental.internalSetEmitExperimentalClientTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
Experimental.setSetClientPeerService(
(builder, peerService) -> builder.builder.setPeerService(peerService));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class ArmeriaServerTelemetryBuilder {

static {
ArmeriaInstrumenterBuilderUtil.setServerBuilderExtractor(builder -> builder.builder);
Experimental.setSetEmitExperimentalServerTelemetry(
Experimental.internalSetEmitExperimentalServerTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public static void setClientPeerService(
}
}

public static void setSetEmitExperimentalClientTelemetry(
public static void internalSetEmitExperimentalClientTelemetry(
BiConsumer<ArmeriaClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) {
Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry;
}

public static void setSetEmitExperimentalServerTelemetry(
public static void internalSetEmitExperimentalServerTelemetry(
BiConsumer<ArmeriaServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) {
Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class JavaHttpClientTelemetryBuilder {
private final OpenTelemetry openTelemetry;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<JavaHttpClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public final class JettyClientTelemetryBuilder {
private SslContextFactory.Client sslContextFactory;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<JettyClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public final class JettyClientTelemetryBuilder {
private SslContextFactory sslContextFactory;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<JettyClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public final class NettyClientTelemetryBuilder {
private boolean emitExperimentalHttpClientEvents = false;

static {
Experimental.setSetEmitExperimentalClientTelemetry(
Experimental.internalSetEmitExperimentalClientTelemetry(
(builder, emit) -> {
builder.builder.setEmitExperimentalHttpClientMetrics(emit);
builder.emitExperimentalHttpClientEvents = emit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public final class NettyServerTelemetryBuilder {
static {
NettyServerInstrumenterBuilderUtil.setBuilderExtractor(
nettyServerTelemetryBuilder -> nettyServerTelemetryBuilder.builder);
Experimental.setSetEmitExperimentalServerTelemetry(
Experimental.internalSetEmitExperimentalServerTelemetry(
(builder, emit) -> {
builder.builder.setEmitExperimentalHttpServerMetrics(emit);
builder.emitExperimentalHttpServerEvents = emit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalClientTelemetry(
public static void internalSetEmitExperimentalClientTelemetry(
BiConsumer<NettyClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) {
Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry;
}

public static void setSetEmitExperimentalServerTelemetry(
public static void internalSetEmitExperimentalServerTelemetry(
BiConsumer<NettyServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) {
Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class OkHttpTelemetryBuilder {
private final OpenTelemetry openTelemetry;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<OkHttpTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class RatpackClientTelemetryBuilder {
private final DefaultHttpClientInstrumenterBuilder<RequestSpec, HttpResponse> builder;

static {
Experimental.setSetEmitExperimentalClientTelemetry(
Experimental.internalSetEmitExperimentalClientTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class RatpackServerTelemetryBuilder {
private final DefaultHttpServerInstrumenterBuilder<Request, Response> builder;

static {
Experimental.setSetEmitExperimentalServerTelemetry(
Experimental.internalSetEmitExperimentalServerTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalClientTelemetry(
public static void internalSetEmitExperimentalClientTelemetry(
BiConsumer<RatpackClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) {
Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry;
}

public static void setSetEmitExperimentalServerTelemetry(
public static void internalSetEmitExperimentalServerTelemetry(
BiConsumer<RatpackServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) {
Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class RestletTelemetryBuilder {
private final DefaultHttpServerInstrumenterBuilder<Request, Response> builder;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<RestletTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class RestletTelemetryBuilder {
private final DefaultHttpServerInstrumenterBuilder<Request, Response> builder;

static {
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<RestletTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class SpringWebTelemetryBuilder {

static {
WebTelemetryUtil.setBuilderExtractor(SpringWebTelemetryBuilder::getBuilder);
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<SpringWebTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public final class SpringWebfluxClientTelemetryBuilder {

static {
SpringWebfluxBuilderUtil.setClientBuilderExtractor(builder -> builder.builder);
Experimental.setSetEmitExperimentalClientTelemetry(
Experimental.internalSetEmitExperimentalClientTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class SpringWebfluxServerTelemetryBuilder {

static {
SpringWebfluxBuilderUtil.setServerBuilderExtractor(builder -> builder.builder);
Experimental.setSetEmitExperimentalServerTelemetry(
Experimental.internalSetEmitExperimentalServerTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalClientTelemetry(
public static void internalSetEmitExperimentalClientTelemetry(
BiConsumer<SpringWebfluxClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) {
Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry;
}

public static void setSetEmitExperimentalServerTelemetry(
public static void internalSetEmitExperimentalServerTelemetry(
BiConsumer<SpringWebfluxServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) {
Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public final class SpringWebMvcTelemetryBuilder {

static {
SpringMvcBuilderUtil.setBuilderExtractor(builder -> builder.builder);
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<SpringWebMvcTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public final class SpringWebMvcTelemetryBuilder {

static {
SpringMvcBuilderUtil.setBuilderExtractor(builder -> builder.builder);
Experimental.setSetEmitExperimentalTelemetry(
Experimental.internalSetEmitExperimentalTelemetry(
(builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry(
}
}

public static void setSetEmitExperimentalTelemetry(
public static void internalSetEmitExperimentalTelemetry(
BiConsumer<SpringWebMvcTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) {
Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry;
}
Expand Down
Loading