package com.qianwen.core.tool.utils; import java.util.concurrent.TimeUnit; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/utils/ThreadUtil.class */ public class ThreadUtil { public static void sleep(long millis) { try { Thread.sleep(millis); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } } public static void sleep(TimeUnit timeUnit, long timeout) { try { timeUnit.sleep(timeout); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } } }