public interface IUUIDGenerator
UUIDGenerator generator = new TimeBasedUUIDGenerator();
String myUuid = generator.getBase64UUID();
Refer to TimeBasedUUIDGenerator
Courtesy of Elasticsearch.
Modifier and Type | Field and Description |
---|---|
static SecureRandom |
INSTANCE
Singleton secure random generator.
|
Modifier and Type | Method and Description |
---|---|
String |
getBase64UUID() |
static final SecureRandom INSTANCE
String getBase64UUID()
Copyright © 2014–2022. All rights reserved.