Class TriplestoreHealthCheck

  • All Implemented Interfaces:
    org.eclipse.microprofile.health.HealthCheck

    @Liveness
    @Readiness
    @ApplicationScoped
    public class TriplestoreHealthCheck
    extends Object
    implements org.eclipse.microprofile.health.HealthCheck
    Check the health of the RDF connection.
    • Constructor Detail

      • TriplestoreHealthCheck

        public TriplestoreHealthCheck()
        For use with RESTeasy and CDI proxies.
        API Note:
        This construtor is used by CDI runtimes that require a public, no-argument constructor. It should not be invoked directly in user code.
      • TriplestoreHealthCheck

        @Inject
        public TriplestoreHealthCheck​(RDFConnection rdfConnection)
        Create an object that checks the health of an RDF Connection.
        Parameters:
        rdfConnection - the RDF Connection
    • Method Detail

      • call

        public org.eclipse.microprofile.health.HealthCheckResponse call()
        Specified by:
        call in interface org.eclipse.microprofile.health.HealthCheck