Package fr.gouv.vitam.common.server.application.configuration

# 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`
  `checkConnection()`
  Check the connection of the database
  `String`
  `getInfo()`
  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