Class ResourceLimits
Namespace: DotBoxD.Kernels.Model
Assembly: DotBoxD.Kernels.dll
public sealed record ResourceLimits : IEquatable<ResourceLimits>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ResourceLimits(long, long, TimeSpan?, long, int, int, int, int, int, long, long, long, long, long, int, int, int, long)
Section titled “ 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
Section titled “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
Section titled “Properties”EffectiveWallTime
Section titled “ EffectiveWallTime”public TimeSpan EffectiveWallTime { get; }Property Value
Section titled “Property Value”MaxAllocatedBytes
Section titled “ MaxAllocatedBytes”public long MaxAllocatedBytes { get; init; }Property Value
Section titled “Property Value”MaxCallDepth
Section titled “ MaxCallDepth”public int MaxCallDepth { get; init; }Property Value
Section titled “Property Value”MaxCollectionDepth
Section titled “ MaxCollectionDepth”public int MaxCollectionDepth { get; init; }Property Value
Section titled “Property Value”MaxFileBytesRead
Section titled “ MaxFileBytesRead”public long MaxFileBytesRead { get; init; }Property Value
Section titled “Property Value”MaxFileBytesWritten
Section titled “ MaxFileBytesWritten”public long MaxFileBytesWritten { get; init; }Property Value
Section titled “Property Value”MaxFuel
Section titled “ MaxFuel”public long MaxFuel { get; init; }Property Value
Section titled “Property Value”MaxHostCalls
Section titled “ MaxHostCalls”public int MaxHostCalls { get; init; }Property Value
Section titled “Property Value”MaxListLength
Section titled “ MaxListLength”public int MaxListLength { get; init; }Property Value
Section titled “Property Value”MaxLogEvents
Section titled “ MaxLogEvents”public int MaxLogEvents { get; init; }Property Value
Section titled “Property Value”MaxLogMessageLength
Section titled “ MaxLogMessageLength”public int MaxLogMessageLength { get; init; }Property Value
Section titled “Property Value”MaxLoopIterations
Section titled “ MaxLoopIterations”public long MaxLoopIterations { get; init; }Property Value
Section titled “Property Value”MaxMapEntries
Section titled “ MaxMapEntries”public int MaxMapEntries { get; init; }Property Value
Section titled “Property Value”MaxNetworkBytesRead
Section titled “ MaxNetworkBytesRead”public long MaxNetworkBytesRead { get; init; }Property Value
Section titled “Property Value”MaxNetworkBytesWritten
Section titled “ MaxNetworkBytesWritten”public long MaxNetworkBytesWritten { get; init; }Property Value
Section titled “Property Value”MaxStringLength
Section titled “ MaxStringLength”public int MaxStringLength { get; init; }Property Value
Section titled “Property Value”MaxTotalCollectionElements
Section titled “ MaxTotalCollectionElements”public long MaxTotalCollectionElements { get; init; }Property Value
Section titled “Property Value”MaxTotalStringBytes
Section titled “ MaxTotalStringBytes”public long MaxTotalStringBytes { get; init; }Property Value
Section titled “Property Value”MaxWallTime
Section titled “ MaxWallTime”public TimeSpan? MaxWallTime { get; init; }