public interface CostCalculator
Author:
ogronnesby
  • Method Details

    • calculate

      CostInfo calculate(ResourceUsage usage)
      Calculate the cost for the given usage
    • calculate

      double calculate(com.yahoo.config.provision.NodeResources resources)
      Estimate the cost for the given resources
    • getCpuPrice

      BigDecimal getCpuPrice()
      CPU unit price
    • getMemoryPrice

      BigDecimal getMemoryPrice()
      Memory unit price
    • getDiskPrice

      BigDecimal getDiskPrice()
      Disk unit price
    • getGpuPrice

      BigDecimal getGpuPrice()
      GPU unit price