public static final class FederationQueueInfo.Builder
extends java.lang.Object
FederationQueueInfo.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
FederationQueueInfo. |
| Modifier and Type | Method and Description |
|---|---|
FederationQueueInfo |
build() |
FederationQueueInfo.Builder |
setCurrentSize(java.lang.Long currentSize)
Number of messages in the queue format: int64
|
FederationQueueInfo.Builder |
setMaxSize(java.lang.Long maxSize)
Maixmum capacity of the queue format: int64
|
FederationQueueInfo.Builder |
setName(java.lang.String name)
Queue name
|
FederationQueueInfo.Builder |
setNamespace(java.lang.String namespace)
Every persistent queue has name and namespace.
|
FederationQueueInfo.Builder |
setType(java.lang.String type)
Possible values are:
FederationQueueInfo.TYPE_TRANSMITTER
FederationQueueInfo.TYPE_RECEIVER
Queue type - sender or receiver side |
public Builder()
FederationQueueInfo.public FederationQueueInfo.Builder setCurrentSize(java.lang.Long currentSize)
currentSize - New value for the property.public FederationQueueInfo.Builder setMaxSize(java.lang.Long maxSize)
maxSize - New value for the property.public FederationQueueInfo.Builder setName(java.lang.String name)
name - New value for the property.public FederationQueueInfo.Builder setNamespace(java.lang.String namespace)
namespace - New value for the property.public FederationQueueInfo.Builder setType(java.lang.String type)
type - New value for the property.public FederationQueueInfo build()