프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |