Class AzureServiceBusJmsProperties.PrefetchPolicy
java.lang.Object
com.azure.spring.cloud.autoconfigure.jms.properties.AzureServiceBusJmsProperties.PrefetchPolicy
- Enclosing class:
- AzureServiceBusJmsProperties
Properties to configure
JmsDefaultPrefetchPolicy for JmsConnectionFactory .-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAll()Gets the all prefetch value.intGets the durable topic prefetch value.intGets the queue browser prefetch value.intGets the queue prefetch value.intGets the topic prefetch value.voidsetAll(int all) Sets the all prefetch value.voidsetDurableTopicPrefetch(int durableTopicPrefetch) Sets the durable topic prefetch value.voidsetQueueBrowserPrefetch(int queueBrowserPrefetch) Sets the queue browser prefetch value.voidsetQueuePrefetch(int queuePrefetch) Sets the queue prefetch value.voidsetTopicPrefetch(int topicPrefetch) Sets the topic prefetch value.
-
Constructor Details
-
PrefetchPolicy
public PrefetchPolicy()
-
-
Method Details
-
getAll
public int getAll()Gets the all prefetch value.- Returns:
- The all prefect value.
-
setAll
public void setAll(int all) Sets the all prefetch value.- Parameters:
all- The all prefetch value.
-
getDurableTopicPrefetch
public int getDurableTopicPrefetch()Gets the durable topic prefetch value.- Returns:
- The durable topic prefetch value.
-
setDurableTopicPrefetch
public void setDurableTopicPrefetch(int durableTopicPrefetch) Sets the durable topic prefetch value.- Parameters:
durableTopicPrefetch- The durable topic prefetch value.
-
getQueueBrowserPrefetch
public int getQueueBrowserPrefetch()Gets the queue browser prefetch value.- Returns:
- The queue browser prefetch value.
-
setQueueBrowserPrefetch
public void setQueueBrowserPrefetch(int queueBrowserPrefetch) Sets the queue browser prefetch value.- Parameters:
queueBrowserPrefetch- The queue browser prefetch value.
-
getQueuePrefetch
public int getQueuePrefetch()Gets the queue prefetch value.- Returns:
- The queue prefetch value.
-
setQueuePrefetch
public void setQueuePrefetch(int queuePrefetch) Sets the queue prefetch value.- Parameters:
queuePrefetch- The queue prefetch value.
-
getTopicPrefetch
public int getTopicPrefetch()Gets the topic prefetch value.- Returns:
- The topic prefetch value.
-
setTopicPrefetch
public void setTopicPrefetch(int topicPrefetch) Sets the topic prefetch value.- Parameters:
topicPrefetch- The topic prefetch value.
-