| Modifier and Type | Field and Description |
|---|---|
| private String | |
| public static final boolean | |
| public static final int | |
| private boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | MessageConsumerOptions(JsonObject json)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int | Returns: the maximum number of messages that can be buffered when this stream is paused
|
| public boolean | |
| public MessageConsumerOptions | Returns: this optionsthe consumer address address)Set the address the event-bus will register the consumer at. |
| public MessageConsumerOptions | Returns: this optionswhether the consumer is local only localOnly)Set whether the consumer is local only. |
| public MessageConsumerOptions | Returns: this optionsthe maximum number of messages that can be buffered maxBufferedMessages)Set the number of messages this registration will buffer when this stream is paused. |
| public JsonObject | toJson()
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| address | back to summary |
|---|---|
| private String address | |
| DEFAULT_LOCAL_ONLY | back to summary |
|---|---|
| public static final boolean DEFAULT_LOCAL_ONLY | |
| DEFAULT_MAX_BUFFERED_MESSAGES | back to summary |
|---|---|
| public static final int DEFAULT_MAX_BUFFERED_MESSAGES | |
| localOnly | back to summary |
|---|---|
| private boolean localOnly | |
| maxBufferedMessages | back to summary |
|---|---|
| private int maxBufferedMessages | |
| MessageConsumerOptions | back to summary |
|---|---|
| public MessageConsumerOptions() | |
| MessageConsumerOptions | back to summary |
|---|---|
| public MessageConsumerOptions(MessageConsumerOptions options) | |
| MessageConsumerOptions | back to summary |
|---|---|
| public MessageConsumerOptions(JsonObject json)
References Deprecated
See corresponding docs for further information. | |
| getAddress | back to summary |
|---|---|
public String getAddress()
| |
| getMaxBufferedMessages | back to summary |
|---|---|
public int getMaxBufferedMessages()
| |
| isLocalOnly | back to summary |
|---|---|
public boolean isLocalOnly()
| |
| setAddress | back to summary |
|---|---|
| public MessageConsumerOptions setAddress(String address) Set the address the event-bus will register the consumer at.
| |
| setLocalOnly | back to summary |
|---|---|
| public MessageConsumerOptions setLocalOnly(boolean localOnly) Set whether the consumer is local only.
| |
| setMaxBufferedMessages | back to summary |
|---|---|
| public MessageConsumerOptions setMaxBufferedMessages(int maxBufferedMessages) Set the number of messages this registration will buffer when this stream is paused. The default
value is When a new value is set, buffered messages may be discarded to reach the new value. The most recent messages will be kept.
| |
| toJson | back to summary |
|---|---|
| public JsonObject toJson()
References Deprecated
See corresponding docs for further information. | |