public class CachedMessageGroupMap extends Object implements MessageGroupMap
| Modifier and Type | Method and Description |
|---|---|
ConsumerId |
get(String groupId) |
Map<String,String> |
getGroups() |
int |
getMaximumCacheSize() |
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 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 int getMaximumCacheSize()
public void setDestination(Destination destination)
setDestination in interface MessageGroupMapCopyright © 2005–2021 FuseSource, Corp.. All rights reserved.