public static void sleep(long millis) {
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            // e.printStackTrace();
        }
    }
Sleep current thread

@param millis How long to sleep for in milliseconds.
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/utils/ThreadUtils.java