{
ArrayList<NodeDefinition> defs = new ArrayList<NodeDefinition>();
ClusterConfig clusterConfig = _serviceConfig.cluster;
List<NodeConfig> nodes = clusterConfig.clusterNodes;
// And then let's read static definition
KeyRangeAllocationStrategy strategy = clusterConfig.type;
if (strategy == null) {
throw new IllegalStateException("Missing 'type' value for ClusterConfig");
}
final int nodeCount = nodes.size();