log.info("Adding node: " + item.getNode().getUri());
return item.toShardConfig();
}
},nodeConfigs);
ShardedSessionFactory shardedFactory =
new ShardedConfiguration(
buildPrototypeConfiguration(Atom.getFirstOrThrow(nodeConfigs)),
Lists.newList(shardConfigs),
buildShardStrategyFactory()).buildShardedSessionFactory();
logIterable("Adding class:", persistableClasses);