LOG.info("Registering state model factory for state-model-definition: " + stateModelDefId
+ " using factory-name: " + factoryName + " with: " + factory);
StateModelFactory<? extends StateModel> factoryAdaptor =
new HelixStateModelFactoryAdaptor(factory);
String stateModelDefName = stateModelDefId.stringify();
if (!_stateModelFactoryMap.containsKey(stateModelDefName)) {
_stateModelFactoryMap.put(stateModelDefName,
new ConcurrentHashMap<String, StateModelFactory<? extends StateModel>>());