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) |
void |
setDestination(Destination destination) |
String |
toString() |
public SimpleMessageGroupMap()
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 MessageGroupMappublic void setDestination(Destination destination)
setDestination in interface MessageGroupMapCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.