Property | Type | Description | |
---|---|---|---|
FilterClient | |||
NumberOfBitsPerShard | int | ||
SecretSaltToPreventAlgorithmicComplexityAttacks | string | ||
ShardsByIndex | FilterArray>.Dictionary |
Method | Description | |
---|---|---|
DistributedBinomialLadderFilterController ( |
Construct the controller (server) for requests to this host for its shards of the binomial ladder filter.
|
Method | Description | |
---|---|---|
GetShard ( int shardNumber ) : |
Get the fitler array that stores a shard based on the shard number.
|
|
GetShard ( string element ) : |
Get the fitler array that stores a shard associated with a given element.
|
Method | Description | |
---|---|---|
AssignRandomBit ( [ shardNumber, [ valueToAssign ) : void | ||
DistributedStepAsync ( [ element, [ heightOfLadderInRungs ) : int | ||
GetHeight ( [ element, [ heightOfLadderInRungs = null ) : int |
public DistributedBinomialLadderFilterController ( |
||
distributedBinomialLadderFilterClient | A client used by this server to access the servers hosting other shards of the filter. | |
numberOfBitsPerShard | int | The number of bits that each shard should contain. |
secretSaltToPreventAlgorithmicComplexityAttacks | string | /// A secret used to salt the filter's hash functions so as to prevent attacks that might try to find collisions in the small space we are hashing to. |
return | System.Collections.Generic |
protected GetShard ( int shardNumber ) : |
||
shardNumber | int | The shard number (index) to get. |
return |
protected GetShard ( string element ) : |
||
element | string | The element to associate with a shard. |
return |
protected DistributedBinomialLadderFilterClient,StopGuessing.Clients FilterClient | ||
return |
protected string SecretSaltToPreventAlgorithmicComplexityAttacks | ||
return | string |