Package org.dspace.app.rest.health
Class SolrHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.dspace.app.rest.health.SolrHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class SolrHealthIndicator
extends org.springframework.boot.actuate.health.AbstractHealthIndicator
HealthIndicator for Apache Solr.
This is copied from the 'org.springframework.boot.actuate.solr.SolrHealthIndicator' in Spring Boot v2,
as that class was removed in Spring Boot v3. See https://github.com/spring-projects/spring-boot/issues/31054
This HealthIndicator has updated by DSpace to support later versions of Spring Boot and Solr.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
healthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
SolrHealthIndicator
public SolrHealthIndicator(org.apache.solr.client.solrj.SolrClient solrClient)
-
-
Method Details