io.github.dengchen2020.id.IdGenerator Maven / Gradle / Ivy
package io.github.dengchen2020.id;
import io.github.dengchen2020.id.exception.IdGeneratorException;
/**
* id生成器-接口
*
* @author 邓郴
* @since 2024/7/2
*/
public interface IdGenerator {
/**
* 生成新的id
* @return id
*/
long newLong() throws IdGeneratorException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy