Package org.trellisldp.triplestore
Class TriplestoreHealthCheck
- java.lang.Object
-
- org.trellisldp.triplestore.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 Summary
Constructors Constructor Description TriplestoreHealthCheck()
For use with RESTeasy and CDI proxies.TriplestoreHealthCheck(RDFConnection rdfConnection)
Create an object that checks the health of an 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
-
-