public class RequestIdGenerator extends Object
目前是 currentTimeMillis * 100000 + offset.incrementAndGet() 通过 requestId / (100000 * 1000) 能够得到秒
RequestIdGenerator()
static long
getRequestId()
getRequestIdFromClient()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RequestIdGenerator()
public static long getRequestId()
public static long getRequestIdFromClient()
Copyright © 2016. All rights reserved.