} else {
throw new IllegalArgumentException();
}
String queue = nodeData.getQueue();
MessageQueueWriter mqWriter = messageQueues.getWriter(sshConfig, queue);
nodes.add(new StorageNode(key, blobStoreFactory, new QueuedRequestExecutor(mqWriter)));
}
return new StorageCluster(etag, dataReplicaCount, nodes);