Class ResourceLimits
- Namespace
- DotBoxD.Kernels.Model
- Assembly
- DotBoxD.Kernels.dll
public sealed record ResourceLimits : IEquatable<ResourceLimits>
- Inheritance
-
ResourceLimits
- Implements
-
- Inherited Members
-
Constructors
ResourceLimits(long, long, TimeSpan?, long, int, int, int, int, int, long, long, long, long, long, int, int, int, long)
public ResourceLimits(long MaxFuel = 100000, long MaxLoopIterations = 100000, TimeSpan? MaxWallTime = null, long MaxAllocatedBytes = 1048576, int MaxCallDepth = 64, int MaxHostCalls = 100, int MaxListLength = 10000, int MaxMapEntries = 10000, int MaxCollectionDepth = 32, long MaxTotalCollectionElements = 100000, long MaxFileBytesRead = 1048576, long MaxFileBytesWritten = 0, long MaxNetworkBytesRead = 1048576, long MaxNetworkBytesWritten = 1048576, int MaxLogEvents = 100, int MaxLogMessageLength = 4096, int MaxStringLength = 65536, long MaxTotalStringBytes = 1048576)
Parameters
MaxFuel long
MaxLoopIterations long
MaxWallTime TimeSpan?
MaxAllocatedBytes long
MaxCallDepth int
MaxHostCalls int
MaxListLength int
MaxMapEntries int
MaxCollectionDepth int
MaxTotalCollectionElements long
MaxFileBytesRead long
MaxFileBytesWritten long
MaxNetworkBytesRead long
MaxNetworkBytesWritten long
MaxLogEvents int
MaxLogMessageLength int
MaxStringLength int
MaxTotalStringBytes long
Properties
EffectiveWallTime
public TimeSpan EffectiveWallTime { get; }
Property Value
- TimeSpan
MaxAllocatedBytes
public long MaxAllocatedBytes { get; init; }
Property Value
- long
MaxCallDepth
public int MaxCallDepth { get; init; }
Property Value
- int
MaxCollectionDepth
public int MaxCollectionDepth { get; init; }
Property Value
- int
MaxFileBytesRead
public long MaxFileBytesRead { get; init; }
Property Value
- long
MaxFileBytesWritten
public long MaxFileBytesWritten { get; init; }
Property Value
- long
MaxFuel
public long MaxFuel { get; init; }
Property Value
- long
MaxHostCalls
public int MaxHostCalls { get; init; }
Property Value
- int
MaxListLength
public int MaxListLength { get; init; }
Property Value
- int
MaxLogEvents
public int MaxLogEvents { get; init; }
Property Value
- int
MaxLogMessageLength
public int MaxLogMessageLength { get; init; }
Property Value
- int
MaxLoopIterations
public long MaxLoopIterations { get; init; }
Property Value
- long
MaxMapEntries
public int MaxMapEntries { get; init; }
Property Value
- int
MaxNetworkBytesRead
public long MaxNetworkBytesRead { get; init; }
Property Value
- long
MaxNetworkBytesWritten
public long MaxNetworkBytesWritten { get; init; }
Property Value
- long
MaxStringLength
public int MaxStringLength { get; init; }
Property Value
- int
MaxTotalCollectionElements
public long MaxTotalCollectionElements { get; init; }
Property Value
- long
MaxTotalStringBytes
public long MaxTotalStringBytes { get; init; }
Property Value
- long
MaxWallTime
public TimeSpan? MaxWallTime { get; init; }
Property Value
- TimeSpan?