logger.info("Comm layer mode is set to static");
processMonitor = new StaticProcessMonitor(zkaddress,
clusterName,
ClusterType.S4);
} else {
processMonitor = new ZkProcessMonitor(zkaddress,
clusterName,
ClusterType.S4,
callbackHandler);
}
return processMonitor;