public class SnowflakeGenerator extends Object implements Generator<Long>
SnowflakeGenerator()
SnowflakeGenerator(long workerId, long dataCenterId)
Long
next()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SnowflakeGenerator()
public SnowflakeGenerator(long workerId, long dataCenterId)
workerId
dataCenterId
public Long next()
Generator
next
Generator<Long>
Copyright © 2024. All rights reserved.