Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeNA/PacketProxy
/ UniqueID
Method
UniqueID
src/main/java/core/packetproxy/common/UniqueID.java:36–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
private
long lastId = 0;
35
36
private
UniqueID() throws Exception {
37
lastId = getNow();
38
}
39
40
public
synchronized long createId() throws Exception {
41
while
(true) {
Callers
nothing calls this directly
Calls
1
getNow
Method · 0.95
Tested by
no test coverage detected