Interface ResourceDatabaseClient

    • Method Detail

      • getResourceSnapshotsForMonth

        List<ResourceSnapshot> getResourceSnapshotsForMonth​(com.yahoo.config.provision.TenantName tenantName,
                                                            com.yahoo.config.provision.ApplicationName applicationName,
                                                            YearMonth month)
      • 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)