public MemoryMappedFileStreamBloomFilter(string path, bool create, long size,
                                                 ILongHasher <string> hasher,
                                                 int corruptionRebuildCount = 0) :

            base(path, create, size, corruptionRebuildCount)
        {
            _hasher = hasher;
        }
예제 #2
0
 public MockExistenceFilter(ILongHasher <string> hasher, int addDelayMs = 0)
 {
     _hasher     = hasher;
     _addDelayMs = addDelayMs;
 }
 public MockExistenceFilter(ILongHasher <string> hasher)
 {
     _hasher = hasher;
 }