クラス CorrelationKey

java.lang.ObjectSE
org.springframework.kafka.requestreply.CorrelationKey

public final class CorrelationKey extends ObjectSE
ハッシュキーとして使用できる byte[] のラッパー。代わりに BigInteger を使用することもできましたが、このラッパーははるかに安価です。
導入:
2.1.3
作成者:
Gary Russell
  • コンストラクターの詳細

    • CorrelationKey

      public CorrelationKey(byte[] correlationId)
  • メソッドの詳細

    • getCorrelationId

      public byte[] getCorrelationId()
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode 
    • equals

      public boolean equals(ObjectSE obj)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString