Interface IdDatabaseFactoryType

All Known Implementing Classes:
IdDatabases

public interface IdDatabaseFactoryType
The type of server database factories.
  • Method Details

    • kind

      String kind()
      Returns:
      The database kind (such as "POSTGRESQL")
    • open

      IdDatabaseType open(IdDatabaseConfiguration configuration, io.opentelemetry.api.OpenTelemetry openTelemetry, Consumer<String> startupMessages) throws IdDatabaseException
      Open a database.
      Parameters:
      configuration - The database configuration
      openTelemetry - The OpenTelemetry instance
      startupMessages - A function that will receive startup messages
      Returns:
      A database
      Throws:
      IdDatabaseException - On errors