类 ImadcnIdentifierGenerator
java.lang.Object
com.baomidou.mybatisplus.core.incrementer.ImadcnIdentifierGenerator
- 所有已实现的接口:
IdentifierGenerator,Closeable,AutoCloseable
用 idworker 的实现
- 从以下版本开始:
- 3.4.0, 2020-08-11
- 作者:
- miemie
-
构造器概要
构造器构造器说明ImadcnIdentifierGenerator(com.imadcn.framework.idworker.config.ZookeeperConfiguration zookeeperConfiguration) ImadcnIdentifierGenerator(com.imadcn.framework.idworker.config.ZookeeperConfiguration zookeeperConfiguration, com.imadcn.framework.idworker.config.ApplicationConfiguration applicationConfiguration) ImadcnIdentifierGenerator(String serverLists) -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator
assignId
-
构造器详细资料
-
ImadcnIdentifierGenerator
-
ImadcnIdentifierGenerator
public ImadcnIdentifierGenerator(com.imadcn.framework.idworker.config.ZookeeperConfiguration zookeeperConfiguration) -
ImadcnIdentifierGenerator
public ImadcnIdentifierGenerator(com.imadcn.framework.idworker.config.ZookeeperConfiguration zookeeperConfiguration, com.imadcn.framework.idworker.config.ApplicationConfiguration applicationConfiguration)
-
-
方法详细资料
-
nextId
从接口复制的说明:IdentifierGenerator生成Id- 指定者:
nextId在接口中IdentifierGenerator- 参数:
entity- 实体- 返回:
- id
-
nextUUID
从接口复制的说明:IdentifierGenerator生成uuid- 指定者:
nextUUID在接口中IdentifierGenerator- 参数:
entity- 实体- 返回:
- uuid
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-