@PostConstruct public void start() throws Exception { handler = new RemotePoolManagerHandler(new CellAddressCore(serviceName)); cache = new PathChildrenCache(client, getZooKeeperPath(), true); cache.getListenable().addListener(this); cache.start(); }
void start() throws Exception { cores.start(); }