File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
xds/src/main/java/io/grpc/xds/orca Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 3434import io .grpc .services .InternalMetricRecorder ;
3535import io .grpc .services .MetricRecorder ;
3636import io .grpc .services .MetricReport ;
37- import javax .annotation .Nullable ;
3837
3938/**
4039 * A {@link ServerInterceptor} that intercepts a {@link ServerCall} by running server-side RPC
@@ -63,14 +62,6 @@ public final class OrcaMetricReportingServerInterceptor implements ServerInterce
6362 OrcaMetricReportingServerInterceptor .instance = this ;
6463 }
6564
66- /**
67- * Returns the server interceptor if created, otherwise {@code null}.
68- */
69- @ Nullable
70- public static OrcaMetricReportingServerInterceptor getInstanceIfCreated () {
71- return instance ;
72- }
73-
7465 public static OrcaMetricReportingServerInterceptor getOrCreateInstance (
7566 MetricRecorder metricRecorder ) {
7667 if (instance == null ) {
You can’t perform that action at this time.
0 commit comments