public abstract class SubscribeOptions
extends java.lang.Object
SubscribeOptions.Builder
.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 ConsumerConfiguration |
consumerConfig |
protected java.lang.String |
stream |
Modifier | Constructor and Description |
---|---|
protected |
SubscribeOptions(java.lang.String stream,
ConsumerConfiguration consumerConfig) |
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.
|
java.lang.String |
getStream()
Gets the name of the stream.
|
java.lang.String |
toString() |
protected final java.lang.String stream
protected final ConsumerConfiguration consumerConfig
protected SubscribeOptions(java.lang.String stream, ConsumerConfiguration consumerConfig)
public java.lang.String getStream()
public java.lang.String getDurable()
public ConsumerConfiguration getConsumerConfiguration()
public java.lang.String toString()
toString
in class java.lang.Object