Interface HashEncoded

All Known Implementing Classes:
AbstractByteArrayReadBuffer, AbstractReadBuffer, Binary, ByteArrayReadBuffer, ByteBufferReadBuffer, ExternalizableHelper.DecoratedMultiBufferReadBuffer, MultiBufferReadBuffer

public interface HashEncoded
HashEncoded interface represents an ability to retrieve an encoded hash value; most commonly used to calculate a partition id.
Since:
Coherence 12.1.2
Author:
hr/gg/cp
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    A reserved value that suggests the absence of the encoded hash.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the encoded hash value or UNENCODED if absent.
  • Field Details

    • UNENCODED

      static final int UNENCODED
      A reserved value that suggests the absence of the encoded hash.
      See Also:
  • Method Details

    • getEncodedHash

      int getEncodedHash()
      Return the encoded hash value or UNENCODED if absent.
      Returns:
      the encoded hash value or UNENCODED if absent