Table of Contents

Class SlotPoolSaturatedException

Namespace
LMKit.Exceptions
Assembly
LM-Kit.NET.dll

Represents an exception that is thrown when every slot of a model's shared slot pool is busy and WhenAllSlotsBusy is Reject.

public sealed class SlotPoolSaturatedException : Exception, ISerializable
Inheritance
SlotPoolSaturatedException
Implements
Inherited Members

Remarks

The condition is transient and carries no fault: the same request is expected to succeed once a slot frees. Callers that shed or reroute load should catch this type specifically rather than treating it as a failure. Under Queue the request waits instead and this exception is never thrown.

Fields

QueuedRequests

Gets the number of requests already waiting for a slot when this request was rejected.

SlotCount

Gets the number of slots the pool decodes together, all of which were busy.

Properties

Message

Gets a message that describes the current exception.

Share