Class CachedMessageGroupMap
java.lang.Object
org.apache.activemq.broker.region.group.CachedMessageGroupMap
- All Implemented Interfaces:
MessageGroupMap
A simple implementation which tracks every individual GroupID value in a LRUCache
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.activemq.command.ConsumerIdintgetType()voidvoidremoveConsumer(org.apache.activemq.command.ConsumerId consumerId) org.apache.activemq.command.ConsumerIdremoveGroup(String groupId) voidsetDestination(Destination destination) toString()
-
Method Details
-
put
- Specified by:
putin interfaceMessageGroupMap
-
get
- Specified by:
getin interfaceMessageGroupMap
-
removeGroup
- Specified by:
removeGroupin interfaceMessageGroupMap
-
removeConsumer
- Specified by:
removeConsumerin interfaceMessageGroupMap
-
removeAll
public void removeAll()- Specified by:
removeAllin interfaceMessageGroupMap
-
getGroups
- Specified by:
getGroupsin interfaceMessageGroupMap- Returns:
- a map of group names and associated consumer Id
-
getType
- Specified by:
getTypein interfaceMessageGroupMap
-
getMaximumCacheSize
public int getMaximumCacheSize() -
toString
-
setDestination
- Specified by:
setDestinationin interfaceMessageGroupMap
-