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
-
Method Summary
Modifier and TypeMethodDescriptionint
getAll()
Gets the all prefetch value.int
Gets the durable topic prefetch value.int
Gets the queue browser prefetch value.int
Gets the queue prefetch value.int
Gets the topic prefetch value.void
setAll
(int all) Sets the all prefetch value.void
setDurableTopicPrefetch
(int durableTopicPrefetch) Sets the durable topic prefetch value.void
setQueueBrowserPrefetch
(int queueBrowserPrefetch) Sets the queue browser prefetch value.void
setQueuePrefetch
(int queuePrefetch) Sets the queue prefetch value.void
setTopicPrefetch
(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.
-