class UIDGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.concurrent.atomic.AtomicLong |
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, the returned ID is unique.
|
private final java.util.concurrent.atomic.AtomicLong nextID
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.