SharedMapImpl map = getMap(message.getName(), false);
// if the map doesn't exist, return an empty message
if (map == null) {
List<String> l = Collections.emptyList();
return new MapResponseMessage(message.getMessageID(), 0, l);
}
// create a list of all keys
Collection<String> keys = new ArrayList<String>(map.keySet());
logger.fine("[SharedStateComponentMO]: Respond to map req: " +
keys.size() + " keys");
// return the response
return new MapResponseMessage(message.getMessageID(),
map.getVersion(), keys);
}