aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/billing/QuotaCalculator.java
blob: 9511d1109ff6ea9d2ff211fa6a1e93381721052f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.billing;

/**
 * Calculates the quota.  This is used in the context of a {@link Plan}.
 *
 * @author ogronnesby
 */
public interface QuotaCalculator {
    /** Calculate the quota for a given environment */
    Quota calculate();
}