Package com.io7m.idstore.database.postgres.internal

# Class IdDatabaseMaintenanceQueries

java.lang.Object
com.io7m.idstore.database.postgres.internal.IdDatabaseMaintenanceQueries

All Implemented Interfaces:
  `IdDatabaseMaintenanceQueriesType`, `IdDatabaseQueriesType`

public final class IdDatabaseMaintenanceQueries extends Object implements IdDatabaseMaintenanceQueriesType
The maintenance queries.

- ## Field Summary

  ### Fields inherited from interface com.io7m.idstore.database.api.IdDatabaseQueriesType

  `EARLIEST`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected final OffsetDateTime`
  `currentTime()`
  `void`
  `runMaintenance()`
  Run maintenance tasks.
  `protected final com.io7m.idstore.database.postgres.internal.IdDatabaseTransaction`
  `transaction()`
  `protected final io.opentelemetry.api.trace.Span`
  `transactionSpan()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### runMaintenance

    public void runMaintenance() throws IdDatabaseException
    Description copied from interface: `IdDatabaseMaintenanceQueriesType`
    Run maintenance tasks.
    Specified by:
      `runMaintenance` in interface `IdDatabaseMaintenanceQueriesType`
    Throws:
      `IdDatabaseException` - On errors

  - ### transactionSpan

    protected final io.opentelemetry.api.trace.Span transactionSpan()

  - ### transaction

    protected final com.io7m.idstore.database.postgres.internal.IdDatabaseTransaction transaction()

  - ### currentTime

    protected final OffsetDateTime currentTime()