Class MessageGroupHashBucketFactory
- java.lang.Object
- 
- org.apache.activemq.broker.region.group.MessageGroupHashBucketFactory
 
- 
- All Implemented Interfaces:
- MessageGroupMapFactory
 
 public class MessageGroupHashBucketFactory extends Object implements MessageGroupMapFactory A factory to create instances ofSimpleMessageGroupMapwhen implementing the Message Groups functionality.
- 
- 
Constructor SummaryConstructors Constructor Description MessageGroupHashBucketFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageGroupMapcreateMessageGroupMap()intgetBucketCount()intgetCacheSize()voidsetBucketCount(int bucketCount)Sets the number of hash buckets to use for the message group functionality.voidsetCacheSize(int cacheSize)
 
- 
- 
- 
Method Detail- 
createMessageGroupMappublic MessageGroupMap createMessageGroupMap() - Specified by:
- createMessageGroupMapin interface- MessageGroupMapFactory
 
 - 
getBucketCountpublic int getBucketCount() 
 - 
setBucketCountpublic void setBucketCount(int bucketCount) Sets the number of hash buckets to use for the message group functionality. This is only applicable to using message groups to parallelize processing of a queue while preserving order across an individual JMSXGroupID header value. This value sets the number of hash buckets that will be used (i.e. the maximum possible concurrency).
 - 
getCacheSizepublic int getCacheSize() 
 - 
setCacheSizepublic void setCacheSize(int cacheSize) 
 
- 
 
-