()
| 128 | } |
| 129 | |
| 130 | public void await() { |
| 131 | try { |
| 132 | // var t = System.currentTimeMillis(); |
| 133 | // if (t - lockTime > 500) { |
| 134 | // logger.warn("--- lock time too long: {}", t - lockTime, new Exception()); |
| 135 | // } |
| 136 | condition.await(); |
| 137 | } catch (InterruptedException e) { |
| 138 | Task.forceThrow(e); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | public boolean await(long time) { |
| 143 | try { |
no test coverage detected