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.trace.Tracer tracer, io.opentelemetry.api.metrics.Meter meter, Consumer<String> startupMessages) throws IdDatabaseException
      Open a database.
      Parameters:
      configuration - The database configuration
      tracer - The telemetry tracer instance
      meter - The telemetry meter instance
      startupMessages - A function that will receive startup messages
      Returns:
      A database
      Throws:
      IdDatabaseException - On errors