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) Deprecated, for removal: This API element is subject to removal in a future version.initialMemberCount
(int initialMemberCount) Set the number of initial members the stream should have.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
@Deprecated(forRemoval=true) Management.StreamSpecification initialClusterSize(int initialClusterSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, useinitialMemberCount(int)
instead.- Parameters:
initialClusterSize
- initial number of nodes- 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:
-
queue
Management.QueueSpecification queue()Go back to the queue specification.- Returns:
- queue specification
-