dlmarion commented on code in PR #3292:
URL: https://github.com/apache/accumulo/pull/3292#discussion_r1171814885
##########
core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftScanner.java:
##########
@@ -299,10 +305,52 @@ public ScanState(ClientContext context, TableId tableId,
Authorizations authoriz
}
}
- public static class ScanTimedOutException extends IOException {
+ static <T> Optional<T> waitUntil(Supplier<Optional<T>> condition, Duration
maxWaitTime,
Review Comment:
If it were me, I would do the following in `main`:
1. Move `Wait` to `org.apache.accumulo.core.util`
2. Move `UtilWaitThread.sleep` into `Wait`
3. Add this method to `Wait`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]