if ((coord instanceof ZKClusterCoordinator)) {
this.localEStoreProvider = null;
this.zkEStoreProvider = new ZkEStoreProvider(((ZKClusterCoordinator)registry.getClusterCoordinator()).getCurator());
this.zkAvailable = true;
} else {
this.localEStoreProvider = new LocalEStoreProvider();
this.zkEStoreProvider = null;
this.zkAvailable = false;
}
}