Class CorrelationKey
- java.lang.Object
 - 
- org.springframework.kafka.requestreply.CorrelationKey
 
 
- 
public final class CorrelationKey extends java.lang.ObjectWrapper 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) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)byte[]getCorrelationId()inthashCode()java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getCorrelationId
public byte[] getCorrelationId()
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -