Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShardedBloomFilter ¶
type ShardedBloomFilter struct { sync.Mutex Filters []*bloom.BloomFilter Timer *time.Ticker // contains filtered or unexported fields }
func NewShardedBFilter ¶
func (*ShardedBloomFilter) Contains ¶
func (f *ShardedBloomFilter) Contains(key []byte) bool
func (*ShardedBloomFilter) ContainsOrUpdate ¶
func (f *ShardedBloomFilter) ContainsOrUpdate(key []byte) bool
func (*ShardedBloomFilter) Update ¶
func (f *ShardedBloomFilter) Update(key []byte)
Click to show internal directories.
Click to hide internal directories.