Package com.rabbitmq.client.amqp
Interface Management.StreamSpecification
- Enclosing interface:
Management
public static interface Management.StreamSpecification
Specification of a stream.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioninitialClusterSize
(int initialClusterSize) Set the number of nodes the initial stream cluster should span.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:
-
initialClusterSize
Set the number of nodes the initial stream cluster should span.- Parameters:
initialClusterSize
- initial number of nodes- Returns:
- the stream specification
- See Also:
-
queue
Management.QueueSpecification queue()Go back to the queue specification.- Returns:
- queue specification
-