```
1.Thread.currentThread().sleep(8000);//毫秒
2.long start1 = System.currentTimeMillis();
logger.info("updateShop时间:"+start1);
try {
TimeUnit.SECONDS.sleep(10);
} catch (InterruptedException e) {
e.printStackTrace();
}
long start2 = System.currentTimeMillis();
logger.info("updateShop时间:"+(start2-start1));
```