IdGenerator that uses SecureRandom for the initial seed and
Random thereafter, instead of calling UUID#randomUUID() every
time as JdkIdGenerator does.
This provides a better balance between securely random ids and performance.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UUID |
| random | back to summary |
|---|---|
| private final Random random | |
| AlternativeJdkIdGenerator | back to summary |
|---|---|
| public AlternativeJdkIdGenerator() | |
| generateId | back to summary |
|---|---|
| public UUID generateId() Implements org. Doc from org. Generate a new identifier. | |