Package org.infinispan.commons.util
Class MurmurHash3BloomFilter
java.lang.Object
org.infinispan.commons.util.BloomFilter<byte[]>
org.infinispan.commons.util.MurmurHash3BloomFilter
BloomFilter implementation that allows for up to 10 hash functions all using MurmurHash3 with different
seeds. The same seed(s) is used for the given number of hash functions. That is if you create this
filter in one JVM with 3 functions it will be the same bloom filter as another JVM with 3 functions in another.
The default number of hash functions is 3.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BloomFilter
<byte[]> createConcurrentFilter
(int bitsToUse) static BloomFilter
<byte[]> createConcurrentFilter
(int bitsToUse, int hashFunctions) static BloomFilter
<byte[]> createFilter
(int bitsToUse) static BloomFilter
<byte[]> createFilter
(int bitsToUse, int hashFunctions) Methods inherited from class org.infinispan.commons.util.BloomFilter
addToFilter, createConcurrentFilter, createFilter, getIntSet, possiblyPresent, setBits, toString
-
Method Details
-
createFilter
-
createFilter
-
createConcurrentFilter
-
createConcurrentFilter
-