Interface ResourceDatabaseClient

All Known Implementing Classes:
ResourceDatabaseClientMock

public interface ResourceDatabaseClient
Author:
olaa
  • Method Details

    • writeResourceSnapshots

      void writeResourceSnapshots(Collection<ResourceSnapshot> snapshots)
    • getResourceSnapshotsForPeriod

      List<ResourceUsage> getResourceSnapshotsForPeriod(com.yahoo.config.provision.TenantName tenantName, long startTimestamp, long endTimestamp)
    • refreshMaterializedView

      void refreshMaterializedView()
    • getMonthsWithSnapshotsForTenant

      Set<YearMonth> getMonthsWithSnapshotsForTenant(com.yahoo.config.provision.TenantName tenantName)
    • getRawSnapshotHistoryForTenant

      List<ResourceSnapshot> getRawSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth)
    • getTenants

      Set<com.yahoo.config.provision.TenantName> getTenants()
    • getResourceSnapshotsForMonth

      default List<ResourceUsage> getResourceSnapshotsForMonth(com.yahoo.config.provision.TenantName tenantName, YearMonth month)