public class QueueConfig extends Object implements QueueDefinition
| Constructor and Description | 
|---|
QueueConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
List<AdapterConfig> | 
getAdapters()  | 
Optional<Integer> | 
getBatchIntervalMs()
Messages are aggregated in batches before being dispatched. 
 | 
Optional<Integer> | 
getBatchSize()
Messages are aggregated in batches before being dispatched. 
 | 
String | 
getName()
The name of the protocol. 
 | 
Optional<Integer> | 
getNumThreads()
Number of threads used for consuming/dispatching messages. 
 | 
Optional<Integer> | 
getQueueSize()
Maximum number of messages to keep in memory while waiting
 to be dispatched. 
 | 
Optional<Boolean> | 
getUseRoutingKey()
Whether or not the routing key should be used when forwarding messages to the broker. 
 | 
int | 
hashCode()  | 
void | 
setAdapters(List<AdapterConfig> adapters)  | 
void | 
setBatchIntervalMs(Integer batchIntervalMs)  | 
void | 
setBatchSize(Integer batchSize)  | 
void | 
setName(String name)  | 
void | 
setNumThreads(Integer numThreads)  | 
void | 
setQueueSize(Integer queueSize)  | 
void | 
setUseRoutingKey(Boolean useRoutingKey)  | 
String | 
toString()  | 
public String getName()
QueueDefinitiongetName in interface QueueDefinitionpublic void setName(String name)
public Optional<Integer> getNumThreads()
QueueDefinitiongetNumThreads in interface QueueDefinitionpublic void setNumThreads(Integer numThreads)
public Optional<Integer> getBatchSize()
QueueDefinitiongetBatchSize in interface QueueDefinitionpublic void setBatchSize(Integer batchSize)
public Optional<Integer> getBatchIntervalMs()
QueueDefinitiongetBatchIntervalMs in interface QueueDefinitionpublic void setBatchIntervalMs(Integer batchIntervalMs)
public Optional<Integer> getQueueSize()
QueueDefinitiongetQueueSize in interface QueueDefinitionpublic void setQueueSize(Integer queueSize)
public Optional<Boolean> getUseRoutingKey()
QueueDefinitiongetUseRoutingKey in interface QueueDefinitionpublic void setUseRoutingKey(Boolean useRoutingKey)
public List<AdapterConfig> getAdapters()
public void setAdapters(List<AdapterConfig> adapters)
Copyright © 2021. All rights reserved.