Class FgpDatabaseDependency
java.lang.Object
org.veupathdb.lib.container.jaxrs.health.AbstractDependency
org.veupathdb.lib.container.jaxrs.health.ExternalDependency
org.veupathdb.lib.container.jaxrs.health.FgpDatabaseDependency
- All Implemented Interfaces:
AutoCloseable,Dependency
Database Dependency
Dependency wrapper for a database instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.veupathdb.lib.container.jaxrs.health.Dependency
Dependency.Status, Dependency.TestResult -
Field Summary
Fields inherited from class org.veupathdb.lib.container.jaxrs.health.ExternalDependency
pingerFields inherited from class org.veupathdb.lib.container.jaxrs.health.AbstractDependency
name -
Constructor Summary
ConstructorsConstructorDescriptionFgpDatabaseDependency(String name, String url, int port, org.gusdb.fgputil.db.pool.DatabaseInstance ds) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidsetTestQuery(String testQuery) test()Test the resource availabilityMethods inherited from class org.veupathdb.lib.container.jaxrs.health.ExternalDependency
setPingerMethods inherited from class org.veupathdb.lib.container.jaxrs.health.AbstractDependency
getName
-
Constructor Details
-
FgpDatabaseDependency
-
-
Method Details
-
test
Description copied from interface:DependencyTest the resource availability -
close
-
setTestQuery
-