class UIDGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private long |
nextID
Value of the next ID
|
Constructor and Description |
---|
UIDGenerator() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
inUse(long ID)
Used during log recovery to update the generator that a given ID
is in use.
|
(package private) long |
newID()
Generate ID, this method performs appropriate locking to
ensure the returned ID is unique.
|
Copyright 2007-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.