Class PersistentChannelOptions
Represents persistent channel options.
Namespace: DotNext.Threading.Channels
Assembly: DotNext.Threading.dll
Syntax
public sealed class PersistentChannelOptions : ChannelOptions
Constructors
| Improve this Doc View SourcePersistentChannelOptions()
Initializes a new options with default settings.
Declaration
public PersistentChannelOptions()
Properties
| Improve this Doc View SourceBufferSize
Gets or sets size of internal buffer used to perform I/O operations.
Declaration
public int BufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
InitialPartitionSize
Gets or sets initial size of partition file, in bytes.
Declaration
public long InitialPartitionSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Int64 |
Remarks
This property may help to avoid fragmentation of partition file on disk during writing.
Location
Gets or sets path used to store queue files.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
PartitionCapacity
Gets or sets maximum number of messages per file.
Declaration
public int PartitionCapacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |