Returns a UID that concatenates: prefix + "_" + 12 hex chars.
Returns a UID that concatenates: prefix + "_" + 12 hex chars.
uid prefix
UID
Returns a UID that concatenates: klazz.getSimpleName + "_" + 12 hex chars.
Returns a UID that concatenates: klazz.getSimpleName + "_" + 12 hex chars.
class instance
UID
Returns a UID that concatenates: classOf[T].getSimpleName + "_" + 12 hex chars.
Returns a UID that concatenates: classOf[T].getSimpleName + "_" + 12 hex chars.
type T with a ClassTag
UID
Gets current UID count
Gets current UID count
UID counter value
Parses UID from string
Parses UID from string
a UID that concatenates: prefix + "_" + 12 hex chars
(prefix, suffix) tuple
IllegalArgumentException
in case an invalid UID is specified
Resets the UID counter back to specified count.
Resets the UID counter back to specified count. Can be useful when generating workflows programmatically, but the UIDs needs to be the same.
reset count to value v (default: 0) NOTE: Don't use this method unless you know what you are doing.
Unique Identifier (UID) generator