@Component
@ConditionalOnProperty(prefix="bootx.common.sequence",
value="type",
havingValue="mongo")
public class MongoSeqRangeManager
extends Object
implements SeqRangeManager
public SeqRange nextRange(String name, SeqRangeConfig seqRangeConfig) throws SeqException
nextRange 在接口中 SeqRangeManagername - 区间名seqRangeConfig - 序列号区间配置SeqException - 异常Copyright © 2023. All rights reserved.