public final class SagaId extends Object
Modifier and Type | Field and Description |
---|---|
UUID |
id
The d is represented internally as a UUID.
|
Constructor and Description |
---|
SagaId() |
Modifier and Type | Method and Description |
---|---|
static SagaId |
fromString(String uuidString)
Converts a saga from its string representation (as a UUID string) to a saga id.
|
static SagaId |
random()
Generates a randon saga ID.
|
String |
toString() |
public final UUID id
public static SagaId random()
public static SagaId fromString(String uuidString)
uuidString
- the uuid stringCopyright © 2019. All rights reserved.