Свойство | Тип | Описание | |
---|---|---|---|
FilterClient | |||
NumberOfBitsPerShard | int | ||
SecretSaltToPreventAlgorithmicComplexityAttacks | string | ||
ShardsByIndex | FilterArray>.Dictionary |
Метод | Описание | |
---|---|---|
DistributedBinomialLadderFilterController ( |
Construct the controller (server) for requests to this host for its shards of the binomial ladder filter.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. |
Результат | System.Collections.Generic |
protected GetShard ( int shardNumber ) : |
||
shardNumber | int | The shard number (index) to get. |
Результат |
protected GetShard ( string element ) : |
||
element | string | The element to associate with a shard. |
Результат |
protected DistributedBinomialLadderFilterClient,StopGuessing.Clients FilterClient | ||
Результат |
protected string SecretSaltToPreventAlgorithmicComplexityAttacks | ||
Результат | string |