Package com.turtlequeue
Class ProducerParams
- java.lang.Object
-
- com.turtlequeue.ProducerParams
-
public class ProducerParams extends Object
-
-
Constructor Summary
Constructors Constructor Description ProducerParams(Long producerId, Topic topic, String producerName, Boolean enableBatching, Integer batchingMaxMessages, TimeUnit batchingMaxPublishDelayUnit, Long batchingMaxPublishDelayValue, Integer maxPendingMessages, Map<String,String> properties, HashingScheme hashingScheme, TimeUnit sendTimeoutUnit, Integer sendTimeoutValue, Boolean blockIfQueueFull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerbatchingMaxMessages()booleanequals(Object o)BooleangetBlockIfQueueFull()CompressionTypegetCompressionType()BooleangetEnableBatching()HashingSchemegetHashingScheme()IntegergetMaxPendingMessages()StringgetNamespace()BooleangetPersistent()longgetProducerId()StringgetProducerName()Map<String,String>getProperties()TimeUnitgetSendTimeoutUnit()IntegergetSendTimeoutValue()TopicgetTopic()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ProducerParams
public ProducerParams(Long producerId, Topic topic, String producerName, Boolean enableBatching, Integer batchingMaxMessages, TimeUnit batchingMaxPublishDelayUnit, Long batchingMaxPublishDelayValue, Integer maxPendingMessages, Map<String,String> properties, HashingScheme hashingScheme, TimeUnit sendTimeoutUnit, Integer sendTimeoutValue, Boolean blockIfQueueFull)
-
-
Method Detail
-
getProducerId
public long getProducerId()
-
getTopic
public Topic getTopic()
-
getPersistent
public Boolean getPersistent()
-
getNamespace
public String getNamespace()
-
getProducerName
public String getProducerName()
-
getEnableBatching
public Boolean getEnableBatching()
-
batchingMaxMessages
public Integer batchingMaxMessages()
-
getHashingScheme
public HashingScheme getHashingScheme()
-
getMaxPendingMessages
public Integer getMaxPendingMessages()
-
getSendTimeoutUnit
public TimeUnit getSendTimeoutUnit()
-
getSendTimeoutValue
public Integer getSendTimeoutValue()
-
getCompressionType
public CompressionType getCompressionType()
-
getBlockIfQueueFull
public Boolean getBlockIfQueueFull()
-
-