EdColeman commented on code in PR #3202:
URL: https://github.com/apache/accumulo/pull/3202#discussion_r1116282663
##########
core/src/main/java/org/apache/accumulo/core/util/UtilWaitThread.java:
##########
@@ -18,17 +18,45 @@
*/
package org.apache.accumulo.core.util;
+import static java.util.concurrent.TimeUnit.MICROSECONDS;
+
+import java.util.concurrent.TimeUnit;
+
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class UtilWaitThread {
private static final Logger log =
LoggerFactory.getLogger(UtilWaitThread.class);
+ /**
+ * Sleep for specified duration in milliseconds. If the sleep is
interrupted, a message is logged
+ * and the interrupt flag is reset, but otherwise the interrupt is ignored.
+ * <p>
+ *
+ * @deprecated Use {@link UtilWaitThread#sleep(long, TimeUnit)} instead.
+ */
+ @Deprecated(since = "3.0.0")
public static void sleep(long millis) {
+ sleep(millis, MICROSECONDS);
Review Comment:
Resolved with 5f2c1cb00aed8d8
--
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]