Class CorrelationKey


  • public final class CorrelationKey
    extends java.lang.Object
    Wrapper for byte[] that can be used as a hash key. We could have used BigInteger instead but this wrapper is much less expensive.
    Since:
    2.1.3
    Author:
    Gary Russell
    • Constructor Summary

      Constructors 
      Constructor Description
      CorrelationKey​(byte[] correlationId)  
    • Constructor Detail

      • CorrelationKey

        public CorrelationKey​(byte[] correlationId)
    • Method Detail

      • getCorrelationId

        public byte[] getCorrelationId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object