99100101102103104105106
{ return serviceDiscovery.queryForNames(); } catch ( Exception e ) { throw new RpcException(e); } }
115116117118119120121122
{ return new DiscoveryInstance(serviceDiscovery.queryForInstance(name, id)); } catch ( Exception e ) { throw new RpcException(e); } }
144145146147148149150151
); return Lists.newArrayList(transformed); } catch ( Exception e ) { throw new RpcException(e); } }
4748495051525354
RpcCuratorEvent event = entry.pollForEvent(pingTimeMs); return (event != null) ? event : new RpcCuratorEvent(); } catch ( InterruptedException e ) { throw new RpcException(e); } }