All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.service.tls.consumer.ConsumerUtil Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.service.tls.consumer;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class ConsumerUtil {
    private static final Log LOG = LogFactory.getLog(ConsumerUtil.class);
    public static void sleep(long timeToSleepMillis) {
        try {
            Thread.sleep(timeToSleepMillis);
        } catch (InterruptedException e) {
            LOG.debug("Interrupted while sleeping");
            Thread.currentThread().interrupt();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy