public static void executeSafely(ExecutableBlock block) { try { block.execute(); } catch (Throwable throwable) { throwsUnchecked(throwable); } } }
public static void executeSafely(ExecutableBlock block) { try { block.execute(); } catch (Throwable throwable) { throwsUnchecked(throwable); } } }
beforeCheck.execute(); if (this.latch.await(this.interval.toNanos(), TimeUnit.NANOSECONDS)) { break;
beforeCheck.execute(); if (this.latch.await(this.interval.toNanos(), TimeUnit.NANOSECONDS)) { break;