public class UlidCreator extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getBytes()
Returns ULID as byte sequence.
|
static byte[] |
getFastBytes()
Returns fast ULID as byte sequence.
|
static UUID |
getFastGuid()
Returns fast ULID as GUID object.
|
static String |
getFastUlid()
Returns a fast ULID.
|
static UUID |
getGuid()
Returns ULID as GUID object.
|
static GuidCreator |
getGuidCreator()
Return a GUID creator for direct use.
|
static String |
getUlid()
Returns a ULID.
|
public static String getUlid()
public static String getFastUlid()
public static UUID getGuid()
public static UUID getFastGuid()
public static byte[] getBytes()
public static byte[] getFastBytes()
public static GuidCreator getGuidCreator()
GuidCreator internally to generate ULIDs.
The GuidCreator throws a UlidCreatorException when too
many values are requested in the same millisecond.GuidCreatorCopyright © 2020. All rights reserved.