Class ChunkSettings
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Inheritance
ChunkSettings
Assembly: Silverback.Integration.dll
Syntax
public sealed record ChunkSettings : IValidatableSettings, IEquatable<ChunkSettings>
Constructors
ChunkSettings()
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
Properties
Gets a value indicating whether the x-chunk-index and related headers have to be added
to the produced message in any case, even if its size doesn't exceed the single chunk size. The
default is true. This setting is ignored if chunking is disabled (Size is not
set).
Declaration
public bool AlwaysAddHeaders { get; init; }
Property Value
Size
Gets the size in bytes of each chunk. The default is MaxValue, meaning that
chunking is disabled.
Declaration
public int Size { get; init; }
Property Value
Methods
Equals(ChunkSettings?)
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
public bool Equals(ChunkSettings? other)
Parameters
Returns
Equals(object?)
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
public override string ToString()
Returns
Overrides
Validate()
Declaration
Operators
operator ==(ChunkSettings?, ChunkSettings?)
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
public static bool operator ==(ChunkSettings? left, ChunkSettings? right)
Parameters
Returns
operator !=(ChunkSettings?, ChunkSettings?)
The chunking settings. To enable chunking just set the Size property to the desired (maximum)
chunk size.
Declaration
public static bool operator !=(ChunkSettings? left, ChunkSettings? right)
Parameters
Returns
Implements