File tree Expand file tree Collapse file tree 1 file changed +4
-22
lines changed
solr/core/src/java/org/apache/solr/handler/component Expand file tree Collapse file tree 1 file changed +4
-22
lines changed Original file line number Diff line number Diff line change 4848 *
4949 * <p>This code uses reflection to break up closed internal APIs.
5050 */
51- public class InstrumentedHtttpShardHandlerFactory extends HttpShardHandlerFactory
52- implements SolrInfoBean {
51+ public class InstrumentedHtttpShardHandlerFactory extends HttpShardHandlerFactory {
5352
5453 private static final Logger log = LoggerFactory .getLogger (MethodHandles .lookup ().lookupClass ());
5554
@@ -100,15 +99,15 @@ void registerDeadServerMetricGauges() {
10099 () -> zombies .size (),
101100 true ,
102101 "count" ,
103- Category .QUERY .name (),
102+ SolrInfoBean . Category .QUERY .name (),
104103 "httpShardHandler" ,
105104 "zombieServers" );
106105 getSolrMetricsContext ()
107106 .gauge (
108107 () -> alives .size (),
109108 true ,
110109 "count" ,
111- Category .QUERY .name (),
110+ SolrInfoBean . Category .QUERY .name (),
112111 "httpShardHandler" ,
113112 "aliveServers" );
114113
@@ -182,7 +181,7 @@ void checkAvailableHttpDestinations(HttpClient httpClient) {
182181 destinationGauge ,
183182 true ,
184183 "count" ,
185- Category .QUERY .name (),
184+ SolrInfoBean . Category .QUERY .name (),
186185 "httpShardHandler" ,
187186 "shardRequestQueue" ,
188187 destinationName );
@@ -230,21 +229,4 @@ public Integer getValue() {
230229 }
231230 }
232231 }
233-
234- // SolrInfoMBean methods
235-
236- @ Override
237- public String getName () {
238- return InstrumentedHtttpShardHandlerFactory .class .getName ();
239- }
240-
241- @ Override
242- public String getDescription () {
243- return "A shard handler factory that captures Jetty http client metrics" ;
244- }
245-
246- @ Override
247- public Category getCategory () {
248- return Category .QUERY ;
249- }
250232}
You can’t perform that action at this time.
0 commit comments