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.

- ## 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()`

  ### 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

  - ### transaction

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

  - ### currentTime

    protected final OffsetDateTime currentTime()