Uses of Class
com.yahoo.vespa.hosted.controller.api.integration.resource.ResourceSnapshot
-
Packages that use ResourceSnapshot Package Description com.yahoo.vespa.hosted.controller.api.integration.resource com.yahoo.vespa.hosted.controller.api.integration.stubs No-dependency implementations of integration interfaces for setups where we want to avoid contacting certain thirds-party systems. -
-
Uses of ResourceSnapshot in com.yahoo.vespa.hosted.controller.api.integration.resource
Methods in com.yahoo.vespa.hosted.controller.api.integration.resource that return ResourceSnapshot Modifier and Type Method Description static ResourceSnapshotResourceSnapshot. from(com.yahoo.config.provision.ApplicationId applicationId, int nodes, double cpuCores, double memoryGb, double diskGb, Instant timestamp, com.yahoo.config.provision.zone.ZoneId zoneId)static ResourceSnapshotResourceSnapshot. from(List<Node> nodes, Instant timestamp, com.yahoo.config.provision.zone.ZoneId zoneId)Methods in com.yahoo.vespa.hosted.controller.api.integration.resource that return types with arguments of type ResourceSnapshot Modifier and Type Method Description List<ResourceSnapshot>ResourceDatabaseClient. getRawSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth)List<ResourceSnapshot>ResourceDatabaseClientMock. getRawSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth)List<ResourceSnapshot>ResourceDatabaseClient. getResourceSnapshotsForMonth(com.yahoo.config.provision.TenantName tenantName, com.yahoo.config.provision.ApplicationName applicationName, YearMonth month)List<ResourceSnapshot>ResourceDatabaseClientMock. getResourceSnapshotsForMonth(com.yahoo.config.provision.TenantName tenantName, com.yahoo.config.provision.ApplicationName applicationName, YearMonth month)Map<com.yahoo.config.provision.ApplicationId,List<ResourceSnapshot>>MeteringData. getSnapshotHistory()List<ResourceSnapshot>MeteringClient. getSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth)Method parameters in com.yahoo.vespa.hosted.controller.api.integration.resource with type arguments of type ResourceSnapshot Modifier and Type Method Description voidMeteringClient. consume(Collection<ResourceSnapshot> resources)voidResourceDatabaseClient. writeResourceSnapshots(Collection<ResourceSnapshot> snapshots)voidResourceDatabaseClientMock. writeResourceSnapshots(Collection<ResourceSnapshot> items)Constructor parameters in com.yahoo.vespa.hosted.controller.api.integration.resource with type arguments of type ResourceSnapshot Constructor Description MeteringData(ResourceAllocation thisMonth, ResourceAllocation lastMonth, ResourceAllocation currentSnapshot, Map<com.yahoo.config.provision.ApplicationId,List<ResourceSnapshot>> snapshotHistory) -
Uses of ResourceSnapshot in com.yahoo.vespa.hosted.controller.api.integration.stubs
Methods in com.yahoo.vespa.hosted.controller.api.integration.stubs that return types with arguments of type ResourceSnapshot Modifier and Type Method Description Collection<ResourceSnapshot>MockMeteringClient. consumedResources()List<ResourceSnapshot>MockMeteringClient. getSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth)Method parameters in com.yahoo.vespa.hosted.controller.api.integration.stubs with type arguments of type ResourceSnapshot Modifier and Type Method Description voidMockMeteringClient. consume(Collection<ResourceSnapshot> resources)
-