710711712713714715716717
} return leaseProjections; } catch ( Exception e ) { throw new RpcException(e); } }
6869707172737475
.build(); return new DiscoveryInstance(serviceInstance); } catch ( Exception e ) { throw new RpcException(e); } }
107108109110111112113114
return new DiscoveryProjection(id); } catch ( Exception e ) { throw new RpcException(e); } }
175176177178179180181182
String id = entry.addThing(serviceProvider, closer); return new DiscoveryProviderProjection(id); } catch ( Exception e ) { throw new RpcException(e); } }
191192193194195196197198
{ return new DiscoveryInstance(serviceProvider.getInstance()); } catch ( Exception e ) { throw new RpcException(e); } }
220221222223224225226227
); return Lists.newArrayList(transformed); } catch ( Exception e ) { throw new RpcException(e); } }
243244245246247248249250
} } } catch ( Exception e ) { throw new RpcException(e); } }
5152535455565758
ServiceDiscovery<byte[]> serviceDiscovery = CuratorEntry.mustGetThing(entry, discoveryProjection.id, ServiceDiscovery.class); serviceDiscovery.registerService(instance.toReal()); } catch ( Exception e ) { throw new RpcException(e); } }
6768697071727374
ServiceDiscovery<byte[]> serviceDiscovery = CuratorEntry.mustGetThing(entry, discoveryProjection.id, ServiceDiscovery.class); serviceDiscovery.updateService(instance.toReal()); } catch ( Exception e ) { throw new RpcException(e); } }
8384858687888990
ServiceDiscovery<byte[]> serviceDiscovery = CuratorEntry.mustGetThing(entry, discoveryProjection.id, ServiceDiscovery.class); serviceDiscovery.unregisterService(instance.toReal()); } catch ( Exception e ) { throw new RpcException(e); } }