@PostConstruct
 public void start() throws Exception {
   handler = new RemotePoolManagerHandler(new CellAddressCore(serviceName));
   cache = new PathChildrenCache(client, getZooKeeperPath(), true);
   cache.getListenable().addListener(this);
   cache.start();
 }
Пример #2
0
 void start() throws Exception {
   cores.start();
 }