Package com.tnsai.reliability
Interface DefaultResumableRun.CostMonitor
- Enclosing class:
DefaultResumableRun<S>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Optional cost-governance hook. Consumers wire this to whatever
spend tracker they own (e.g.
tnsai-quality.cost.CostBudgetStore)
so the loop can compare against RunConfig.costCeilingUSD.-
Method Summary
-
Method Details
-
currentSpendUSD
Optional<BigDecimal> currentSpendUSD()
-