public class DefaultIdentifierFactory extends IdentifierFactory
java.util.UUIDbased identifiers. Although the performance of this strategy is not the best out there, it has native supported on all JVMs. This implementations selects a random identifier out of about 3 x 1038 possible values, making the chance to get a duplicate incredibly small.
|Constructor and Description|
|Modifier and Type||Method and Description|
Generates a unique identifier for use by Entities (generally the Aggregate Root) and Events.
public String generateIdentifier()
Copyright © 2010–2023. All rights reserved.