public final class UuidUtil extends Object
UUID
.
Creates UUID
of different quality of randomness,
which are based on cryptographically weak Random
and strong SecureRandom
pseudo random number generators.Modifier and Type | Method and Description |
---|---|
static String |
createClientUuid(Address endpoint)
Creates a new client
UUID string,
based on a cryptographically weak pseudo random number generator. |
static String |
createClusterUuid()
Creates a new cluster
UUID string,
based on a cryptographically weak pseudo random number generator. |
static String |
createMemberUuid(Address endpoint)
Creates a new member
UUID string,
based on a cryptographically weak pseudo random number generator. |
static UUID |
newSecureUUID()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID.
|
static String |
newSecureUuidString()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID based string.
|
static UUID |
newUnsecureUUID()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID.
|
static String |
newUnsecureUuidString()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID based string.
|
public static String createClusterUuid()
UUID
string,
based on a cryptographically weak pseudo random number generator.UUID
stringpublic static String createMemberUuid(Address endpoint)
UUID
string,
based on a cryptographically weak pseudo random number generator.UUID
stringpublic static String createClientUuid(Address endpoint)
UUID
string,
based on a cryptographically weak pseudo random number generator.UUID
stringpublic static String newUnsecureUuidString()
UUID
string is generated using a cryptographically weak pseudo random number generator.UUID
base stringpublic static String newSecureUuidString()
UUID
string is generated using a cryptographically strong pseudo random number generator.UUID
base stringpublic static UUID newUnsecureUUID()
UUID
is generated using a cryptographically weak pseudo random number generator.UUID
public static UUID newSecureUUID()
UUID
is generated using a cryptographically strong pseudo random number generator.UUID
Copyright © 2018 Hazelcast, Inc.. All rights reserved.