Uses of Class
com.yahoo.vespa.hosted.controller.api.integration.resource.ResourceSnapshot
Packages that use ResourceSnapshot
Package
Description
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 ResourceSnapshotModifier and TypeMethodDescriptionstatic ResourceSnapshotResourceSnapshot.from(com.yahoo.config.provision.ApplicationId applicationId, int nodes, double cpuCores, double memoryGb, double diskGb, com.yahoo.config.provision.NodeResources.Architecture architecture, 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 ResourceSnapshotModifier and TypeMethodDescriptionResourceDatabaseClient.getRawSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth) ResourceDatabaseClientMock.getRawSnapshotHistoryForTenant(com.yahoo.config.provision.TenantName tenantName, YearMonth yearMonth) Map<com.yahoo.config.provision.ApplicationId,List<ResourceSnapshot>> MeteringData.getSnapshotHistory()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 ResourceSnapshotModifier and TypeMethodDescriptionvoidMeteringClient.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 ResourceSnapshotModifierConstructorDescriptionMeteringData(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 ResourceSnapshotModifier and TypeMethodDescriptionMockMeteringClient.consumedResources()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 ResourceSnapshotModifier and TypeMethodDescriptionvoidMockMeteringClient.consume(Collection<ResourceSnapshot> resources)