Interface DatabaseConnection
- All Known Implementing Classes:
ElasticsearchAccess
,ElasticsearchAccessFunctionalAdmin
,ElasticsearchAccessMetadata
,LogbookElasticsearchAccess
,LogbookMongoDbAccessImpl
,MongoDbAccess
,MongoDbAccessAdminImpl
,MongoDbAccessMetadataImpl
,SimpleMongoDBAccess
public interface DatabaseConnection
Generic interface for a Database connection
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check the connection of the databasegetInfo()
Get information on a Database
-
Method Details
-
checkConnection
boolean checkConnection()Check the connection of the database- Returns:
- True if the connection is active
-
getInfo
String getInfo()Get information on a Database- Returns:
- information on the database
-