java.lang.Object
dk.cloudcreate.essentials.types.CharSequenceType<CorrelationId>
dk.cloudcreate.essentials.components.foundation.types.CorrelationId
All Implemented Interfaces:
dk.cloudcreate.essentials.types.Identifier, dk.cloudcreate.essentials.types.SingleValueType<CharSequence,CorrelationId>, Serializable, CharSequence, Comparable<CorrelationId>

public class CorrelationId extends dk.cloudcreate.essentials.types.CharSequenceType<CorrelationId> implements dk.cloudcreate.essentials.types.Identifier
A correlation id is used to link multiple Messages or Events together in a distributed system
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Converts a non-null value to an Optional.of(Object) with argument CorrelationId, otherwise it returns an Optional.empty()
     

    Methods inherited from class dk.cloudcreate.essentials.types.CharSequenceType

    charAt, chars, codePointAt, codePointBefore, codePointCount, codePoints, compareTo, compareTo, compareToIgnoreCase, contains, containsIgnoreCase, contentEquals, contentEquals, endsWith, equals, equalsIgnoreCase, getBytes, getBytes, getBytes, getChars, hashCode, indexOf, indexOf, indexOf, indexOf, isEmpty, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, length, offsetByCodePoints, startsWith, startsWith, subSequence, substring, substring, toCharArray, toString, value

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface dk.cloudcreate.essentials.types.SingleValueType

    getValue