Package com.io7m.idstore.database.api

# Interface IdDatabaseFactoryType

All Known Implementing Classes:
  `IdDatabases`

public interface IdDatabaseFactoryType
The type of server database factories.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `kind()`
  `IdDatabaseType`
  `open(IdDatabaseConfiguration configuration, IdDatabaseTelemetry telemetry, Consumer<String> startupMessages)`
  Open a database.

- ## Method Details

  - ### kind

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

  - ### open

    IdDatabaseType open(IdDatabaseConfiguration configuration, IdDatabaseTelemetry telemetry, Consumer<String> startupMessages) throws IdDatabaseException
    Open a database.
    Parameters:
      `configuration` - The database configuration
      `telemetry` - The telemetry
      `startupMessages` - A function that will receive startup messages
    Returns:
      A database
    Throws:
      `IdDatabaseException` - On errors