public class SimpleMessageGroupMap extends Object implements MessageGroupMap
| Constructor and Description |
|---|
SimpleMessageGroupMap() |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
toString() |
public void put(String groupId, ConsumerId consumerId)
put in interface MessageGroupMappublic ConsumerId get(String groupId)
get in interface MessageGroupMappublic ConsumerId removeGroup(String groupId)
removeGroup in interface MessageGroupMappublic MessageGroupSet removeConsumer(ConsumerId consumerId)
removeConsumer in interface MessageGroupMappublic void removeAll()
removeAll in interface MessageGroupMappublic Map<String,String> getGroups()
getGroups in interface MessageGroupMappublic String getType()
getType in interface MessageGroupMapCopyright © 2005-2014 The Apache Software Foundation. All Rights Reserved.