HBASE-13368 - Hash.java is declared as public Interface - but it should be

Private (Ram)
This commit is contained in:
unknown 2015-04-02 10:20:40 +05:30
parent 2688e831e5
commit c8e1177dd2
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
/**
* 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();