Interface IStreamSpecification
- Namespace
- RabbitMQ.AMQP.Client
- Assembly
- RabbitMQ.AMQP.Client.dll
public interface IStreamSpecification
Methods
FileSizePerChunk(ByteCapacity)
IStreamSpecification FileSizePerChunk(ByteCapacity fileSizePerChunk)
Parameters
fileSizePerChunkByteCapacity
Returns
InitialClusterSize(int)
IStreamSpecification InitialClusterSize(int initialClusterSize)
Parameters
initialClusterSizeint
Returns
InitialOffset(long)
Set the offset from which the stream starts (x-stream-initial-offset).
The first message published to the stream gets this offset.
Requires RabbitMQ 4.4 or later; declaring the queue against an older broker
throws NotSupportedException.
IStreamSpecification InitialOffset(long initialOffset)
Parameters
initialOffsetlongA value between 0 and 2^62 - 1 (inclusive).
Returns
MaxAge(TimeSpan)
IStreamSpecification MaxAge(TimeSpan maxAge)
Parameters
maxAgeTimeSpan
Returns
MaxSegmentSizeBytes(ByteCapacity)
IStreamSpecification MaxSegmentSizeBytes(ByteCapacity maxSegmentSize)
Parameters
maxSegmentSizeByteCapacity
Returns
Queue()
IQueueSpecification Queue()