Class TenantUsageStats
- Namespace
- JD.AI.Core.MultiTenancy
- Assembly
- JD.AI.Core.dll
Current usage stats for a tenant.
public sealed record TenantUsageStats : IEquatable<TenantUsageStats>
- Inheritance
-
TenantUsageStats
- Implements
- Inherited Members
Constructors
TenantUsageStats(int, int, TimeSpan, long, long, int, int)
Current usage stats for a tenant.
public TenantUsageStats(int CurrentRequests, int MaxRequests, TimeSpan WindowDuration, long CurrentTokensToday, long MaxTokensPerDay, int CurrentSessions, int MaxConcurrentSessions)
Parameters
CurrentRequestsintMaxRequestsintWindowDurationTimeSpanCurrentTokensTodaylongMaxTokensPerDaylongCurrentSessionsintMaxConcurrentSessionsint
Properties
CurrentRequests
public int CurrentRequests { get; init; }
Property Value
CurrentSessions
public int CurrentSessions { get; init; }
Property Value
CurrentTokensToday
public long CurrentTokensToday { get; init; }
Property Value
MaxConcurrentSessions
public int MaxConcurrentSessions { get; init; }
Property Value
MaxRequests
public int MaxRequests { get; init; }
Property Value
MaxTokensPerDay
public long MaxTokensPerDay { get; init; }
Property Value
WindowDuration
public TimeSpan WindowDuration { get; init; }