org.apache.activemq.broker.region.group
Interface MessageGroupMap

All Known Implementing Classes:
CachedMessageGroupMap, MessageGroupHashBucket, SimpleMessageGroupMap

public interface MessageGroupMap

Represents a map of JMSXGroupID values to consumer IDs


Method Summary
 ConsumerId get(String groupId)
           
 Map<String,String> getGroups()
           
 String getType()
           
 void put(String groupId, ConsumerId consumerId)
           
 void removeAll()
           
 MessageGroupSet removeConsumer(ConsumerId consumerId)
           
 ConsumerId removeGroup(String groupId)
           
 

Method Detail

put

void put(String groupId,
         ConsumerId consumerId)

get

ConsumerId get(String groupId)

removeGroup

ConsumerId removeGroup(String groupId)

removeConsumer

MessageGroupSet removeConsumer(ConsumerId consumerId)

removeAll

void removeAll()

getGroups

Map<String,String> getGroups()
Returns:
a map of group names and associated consumer Id

getType

String getType()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.