Interface Management.StreamSpecification
- Enclosing interface:
Management
public static interface Management.StreamSpecification
Specification of a stream.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioninitialMemberCount(int initialMemberCount) Set the number of initial members the stream should have.initialOffset(long initialOffset) Set the stream initial offset.Set the maximum age of a stream before it gets truncated.maxSegmentSizeBytes(ByteCapacity maxSegmentSize) Set the maximum size for the stream segment files.queue()Go back to the queue specification.
-
Method Details
-
maxAge
Set the maximum age of a stream before it gets truncated.- Parameters:
maxAge- maximum age- Returns:
- the stream specification
- See Also:
-
maxSegmentSizeBytes
Set the maximum size for the stream segment files.- Parameters:
maxSegmentSize-- Returns:
- the stream specification
- See Also:
-
initialMemberCount
Set the number of initial members the stream should have.- Parameters:
initialMemberCount- initial number of nodes- Returns:
- the stream specification
- See Also:
-
initialOffset
Set the stream initial offset.Requires RabbitMQ 4.4.0 or more.
- Parameters:
initialOffset- stream initial offset- Returns:
- this stream specification
-
queue
Management.QueueSpecification queue()Go back to the queue specification.- Returns:
- queue specification
-