HBASE-13368 - Hash.java is declared as public Interface - but it should be
Private (Ram)
This commit is contained in:
parent
2688e831e5
commit
c8e1177dd2
|
@ -26,7 +26,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
|
||||||
/**
|
/**
|
||||||
* This class represents a common API for hashing functions.
|
* This class represents a common API for hashing functions.
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Private
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public abstract class Hash {
|
public abstract class Hash {
|
||||||
/** Constant to denote invalid hash type. */
|
/** Constant to denote invalid hash type. */
|
||||||
|
|
|
@ -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
|
* @see <a href="http://burtleburtle.net/bob/hash/doobs.html">Has update on the
|
||||||
* Dr. Dobbs Article</a>
|
* Dr. Dobbs Article</a>
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Private
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public class JenkinsHash extends Hash {
|
public class JenkinsHash extends Hash {
|
||||||
private static final int BYTE_MASK = 0xff;
|
private static final int BYTE_MASK = 0xff;
|
||||||
|
|
|
@ -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
|
* <p>The C version of MurmurHash 2.0 found at that site was ported
|
||||||
* to Java by Andrzej Bialecki (ab at getopt org).</p>
|
* to Java by Andrzej Bialecki (ab at getopt org).</p>
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Private
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public class MurmurHash extends Hash {
|
public class MurmurHash extends Hash {
|
||||||
private static MurmurHash _instance = new MurmurHash();
|
private static MurmurHash _instance = new MurmurHash();
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
|
||||||
* <p>MurmurHash3 is the successor to MurmurHash2. It comes in 3 variants, and
|
* <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>
|
* the 32-bit version targets low latency for hash table use.</p>
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Private
|
||||||
@InterfaceStability.Stable
|
@InterfaceStability.Stable
|
||||||
public class MurmurHash3 extends Hash {
|
public class MurmurHash3 extends Hash {
|
||||||
private static MurmurHash3 _instance = new MurmurHash3();
|
private static MurmurHash3 _instance = new MurmurHash3();
|
||||||
|
|
Loading…
Reference in New Issue