public class IdWorker extends Object
IdWorker(long datacenterId, long machineId)
static void
main(String[] args)
long
nextId()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public IdWorker(long datacenterId, long machineId)
public long nextId()
public static void main(String[] args)
Copyright © 2018. All rights reserved.