164165166167168169170171172173174
@Override public Object lockRoot(int id) { try { final InterProcessMutex mutex = new InterProcessMutex(client, ROOT_LOCKS + '/' + id); mutex.acquire(); return mutex; } catch (Exception ex) { throw Throwables.propagate(ex); } }
162163164165166167168169170171172