public class SnowflakeGenerator extends Object
SnowflakeGenerator(long workerId, long dataCenterId)
Long
nextId()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SnowflakeGenerator(long workerId, long dataCenterId)
workerId
dataCenterId
public Long nextId()
Copyright © 2022. All rights reserved.