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 Type
    Method
    Description
    boolean
    Check the connection of the database
    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