public abstract class SubscribeOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_ORDERED_HEARTBEAT
Constant for the default ordered heartbeat time in milliseconds
|
| Modifier and Type | Method and Description |
|---|---|
ConsumerConfiguration |
getConsumerConfiguration()
Gets the consumer configuration.
|
java.lang.String |
getDurable()
Gets the durable consumer name held in the consumer configuration.
|
long |
getMessageAlarmTime()
Get the time amount of time allowed to elapse without a heartbeat.
|
java.lang.String |
getName()
Gets the name of the consumer.
|
long |
getPendingByteLimit()
Gets the pending byte limit.
|
long |
getPendingMessageLimit()
Gets the pending message limit.
|
java.lang.String |
getStream()
Gets the name of the stream.
|
boolean |
isBind()
Gets whether this subscription is expected to bind to an existing stream and consumer
|
boolean |
isFastBind()
Gets whether this subscription is expected to fast bind to an existing stream and consumer.
|
boolean |
isOrdered()
Gets whether this subscription is expected to ensure messages come in order
|
boolean |
isPull()
Gets whether this is a pull subscription
|
java.lang.String |
toString() |
public static final long DEFAULT_ORDERED_HEARTBEAT
public java.lang.String getStream()
public java.lang.String getDurable()
public java.lang.String getName()
public boolean isPull()
public boolean isBind()
public boolean isFastBind()
public boolean isOrdered()
public long getMessageAlarmTime()
public ConsumerConfiguration getConsumerConfiguration()
public long getPendingMessageLimit()
public long getPendingByteLimit()
public java.lang.String toString()
toString in class java.lang.Object