org.apache.activemq.broker.region.group
Class SimpleMessageGroupMap
java.lang.Object
org.apache.activemq.broker.region.group.SimpleMessageGroupMap
- All Implemented Interfaces:
- MessageGroupMap
public class SimpleMessageGroupMap
- extends java.lang.Object
- implements MessageGroupMap
A simple implementation which tracks every individual GroupID value but
which can become a memory leak if clients die before they complete a message
group.
- Version:
- $Revision: 426384 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleMessageGroupMap
public SimpleMessageGroupMap()
put
public void put(java.lang.String groupId,
ConsumerId consumerId)
- Specified by:
put
in interface MessageGroupMap
get
public ConsumerId get(java.lang.String groupId)
- Specified by:
get
in interface MessageGroupMap
removeGroup
public ConsumerId removeGroup(java.lang.String groupId)
- Specified by:
removeGroup
in interface MessageGroupMap
removeConsumer
public MessageGroupSet removeConsumer(ConsumerId consumerId)
- Specified by:
removeConsumer
in interface MessageGroupMap
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009 Apache Software Foundation. All Rights Reserved.