Table of Contents

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

CurrentRequests int
MaxRequests int
WindowDuration TimeSpan
CurrentTokensToday long
MaxTokensPerDay long
CurrentSessions int
MaxConcurrentSessions int

Properties

CurrentRequests

public int CurrentRequests { get; init; }

Property Value

int

CurrentSessions

public int CurrentSessions { get; init; }

Property Value

int

CurrentTokensToday

public long CurrentTokensToday { get; init; }

Property Value

long

MaxConcurrentSessions

public int MaxConcurrentSessions { get; init; }

Property Value

int

MaxRequests

public int MaxRequests { get; init; }

Property Value

int

MaxTokensPerDay

public long MaxTokensPerDay { get; init; }

Property Value

long

WindowDuration

public TimeSpan WindowDuration { get; init; }

Property Value

TimeSpan