120121122123124125126127128129130
} } finally { lock1.close(); } } finally { zkClient2.release(); } } finally { zkClient1.close(); } }
717273747576777879
lock1.unlock(); lock1.close(); barrier.await(5, TimeUnit.SECONDS); // Eventually fail } finally { zkClient.release(); } } }