384385386387388389390391
String id = entry.addThing(lock, closer); return new OptionalLockProjection(new LockProjection(id)); } catch ( Exception e ) { throw new RpcException(e); } }
440441442443444445446447
return new LeaderResult(new LeaderProjection(id), leaderLatch.hasLeadership()); } catch ( Exception e ) { throw new RpcException(e); } }
469470471472473474475476
); return Lists.newArrayList(transformed); } catch ( Exception e ) { throw new RpcException(e); } }
485486487488489490491492
LeaderLatch leaderLatch = CuratorEntry.mustGetThing(entry, leaderProjection.id, LeaderLatch.class); return leaderLatch.hasLeadership(); } catch ( Exception e ) { throw new RpcException(e); } }
530531532533534535536537
return new PathChildrenCacheProjection(id); } catch ( Exception e ) { throw new RpcException(e); } }
557558559560561562563564
} ); } catch ( Exception e ) { throw new RpcException(e); } }
573574575576577578579580
PathChildrenCache pathChildrenCache = CuratorEntry.mustGetThing(entry, cacheProjection.id, PathChildrenCache.class); return new RpcChildData(pathChildrenCache.getCurrentData(path)); } catch ( Exception e ) { throw new RpcException(e); } }
618619620621622623624625
return new NodeCacheProjection(id); } catch ( Exception e ) { throw new RpcException(e); } }
634635636637638639640641
NodeCache nodeCache = CuratorEntry.mustGetThing(entry, cacheProjection.id, NodeCache.class); return new RpcChildData(nodeCache.getCurrentData()); } catch ( Exception e ) { throw new RpcException(e); } }
668669670671672673674675
String id = entry.addThing(node, closer); return new PersistentEphemeralNodeProjection(id); } catch ( Exception e ) { throw new RpcException(e); } }