Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Interface HashEncoded

All Known Implementing Classes:
AbstractByteArrayReadBuffer, AbstractReadBuffer, Binary, ByteArrayReadBuffer, ByteBufferReadBuffer, 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
static int UNENCODED
          A reserved value that suggests the absence of the encoded hash.

 

Method Summary
 int getEncodedHash()
          Return the encoded hash value or UNENCODED if absent.

 

Field Detail

UNENCODED

static final int UNENCODED
A reserved value that suggests the absence of the encoded hash.
See Also:
Constant Field Values

Method Detail

getEncodedHash

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

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.