add static

This commit is contained in:
Looly 2020-11-27 04:01:09 +08:00
parent a30356a215
commit 20ac0ce6a8

View File

@ -41,6 +41,17 @@ import java.util.List;
*/
public class StopWatch {
/**
* 创建计时任务秒表
*
* @param id 用于标识秒表的唯一ID
* @return StopWatch
* @since 5.5.2
*/
public static StopWatch create(String id){
return new StopWatch(id);
}
/**
* 秒表唯一标识用于多个秒表对象的区分
*/