Package dk.cloudcreate.essentials.components.foundation.types
-
Interface Summary Interface Description Tenant Marker interface for types that are used to distinguish between Tenant specific data in a data store.
A tenant can be as simple as aSingleValueTypeor it can be more complex such as including both Tenant-Id and aCountryCodedenoting the country where the Tenant data is owned.
The serialization of the tenant is always theObject.toString()value, and it is deserialized by using a default single string argument constructor -
Class Summary Class Description CorrelationId A correlation id is used to link multiple Messages or Events together in a distributed systemEventId An Event id provides a unique identifier for an EventMessageId A message id provides a unique identifier for a Message in a distributed systemRandomIdGenerator RandomId generator that either: Generates UUIDv1 time-based (i.e.SubscriberId A subscriber id is used to uniquely identify an event subscriberTenantId Simple single valueTenantidentifier