Uses of Record Class
com.tnsai.quality.cost.CostScope
Packages that use CostScope
-
Uses of CostScope in com.tnsai.quality.cost
Methods in com.tnsai.quality.cost that return CostScopeModifier and TypeMethodDescriptionstatic CostScopeConvenience: tenant + agent scope.static CostScopeConvenience: full tenant + agent + capability scope.static CostScopeConvenience: tenant-only scope (no agent / capability narrowing).Methods in com.tnsai.quality.cost with parameters of type CostScopeModifier and TypeMethodDescriptionbooleantruewhenotherfalls within this scope — i.e.CostBudgetStore.currentSpend(CostScope scope, Duration period) Sum of recorded spend that falls insidescopewithin the lastperiod.InMemoryCostBudgetStore.currentSpend(CostScope scope, Duration period) voidCostBudgetStore.record(CostScope scope, BigDecimal amountUSD) AddamountUSDto the recorded spend atscope, dated "now".voidInMemoryCostBudgetStore.record(CostScope scope, BigDecimal amountUSD)