ImadcnIdentifierGenerator implements IdentifierGenerator, Closeable { @Override public Number nextId(Object entity) { return idGenerator.nextId(); } ImadcnIdentifierGenerator(String serverLists);  ImadcnIdentifierGenerator(ZookeeperConfiguration zookeeperConfiguration);  ImadcnIdentifierGenerator(ZookeeperConfiguration zookeeperConfiguration,
                                     ApplicationConfiguration applicationConfiguration); @Override Number nextId(Object entity); @Override String nextUUID(Object entity); @Override void close();  }
@Test void nextId() { for (int i = 0; i < 10; i++) { System.out.println(generator.nextId(null)); System.out.println(generator.nextUUID(null)); } }