Class CorrelationKey
java.lang.Object
org.springframework.kafka.requestreply.CorrelationKey
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 -
Method Summary
-
Constructor Details
-
CorrelationKey
public CorrelationKey(byte[] correlationId)
-
-
Method Details
-
getCorrelationId
public byte[] getCorrelationId() -
hashCode
-
equals
-
toString
-