public abstract class SubscribeOptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SubscribeOptions.Builder<B,SO>
PushSubscribeOptions can be created using a Builder.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
bind |
protected ConsumerConfiguration |
consumerConfig |
protected long |
messageAlarmTime |
protected boolean |
pull |
protected java.lang.String |
stream |
| Modifier | Constructor and Description |
|---|---|
protected |
SubscribeOptions(SubscribeOptions.Builder builder,
boolean pull,
java.lang.String deliverSubject,
java.lang.String deliverGroup) |
| 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() |
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 durable consumer
|
boolean |
isPull()
Gets whether this is a pull subscription
|
java.lang.String |
toString() |
protected final java.lang.String stream
protected final boolean pull
protected final boolean bind
protected final ConsumerConfiguration consumerConfig
protected final long messageAlarmTime
protected SubscribeOptions(SubscribeOptions.Builder builder, boolean pull, java.lang.String deliverSubject, java.lang.String deliverGroup)
public java.lang.String getStream()
public java.lang.String getDurable()
public boolean isPull()
public boolean isBind()
public long getMessageAlarmTime()
public ConsumerConfiguration getConsumerConfiguration()
public java.lang.String toString()
toString in class java.lang.Object