HBASE-13632 - Backport HBASE-13368 to branch-1 and 0.98 (Ram)

This commit is contained in:
ramkrishna 2015-05-06 13:43:30 +05:30
parent a64b3da63b
commit ad8f1d076f
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ import org.apache.hadoop.conf.Configuration;
/**
* This class represents a common API for hashing functions.
*/
@InterfaceAudience.Public
@InterfaceAudience.Private
@InterfaceStability.Stable
public abstract class Hash {
/** Constant to denote invalid hash type. */

View File

@ -42,7 +42,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
* @see <a href="http://burtleburtle.net/bob/hash/doobs.html">Has update on the
* Dr. Dobbs Article</a>
*/
@InterfaceAudience.Public
@InterfaceAudience.Private
@InterfaceStability.Stable
public class JenkinsHash extends Hash {
private static final int BYTE_MASK = 0xff;

View File

@ -29,7 +29,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
* <p>The C version of MurmurHash 2.0 found at that site was ported
* to Java by Andrzej Bialecki (ab at getopt org).</p>
*/
@InterfaceAudience.Public
@InterfaceAudience.Private
@InterfaceStability.Stable
public class MurmurHash extends Hash {
private static MurmurHash _instance = new MurmurHash();

View File

@ -28,7 +28,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
* <p>MurmurHash3 is the successor to MurmurHash2. It comes in 3 variants, and
* the 32-bit version targets low latency for hash table use.</p>
*/
@InterfaceAudience.Public
@InterfaceAudience.Private
@InterfaceStability.Stable
public class MurmurHash3 extends Hash {
private static MurmurHash3 _instance = new MurmurHash3();