public interface Digest
| Modifier and Type | Method and Description |
|---|---|
DigestInfo |
digest(Number320 key,
SimpleBloomFilter<Number160> keyBloomFilter,
SimpleBloomFilter<Number160> contentBloomFilter)
Calculates a digest over a specific location and domain.
|
DigestInfo |
digest(Number640 from,
Number640 to)
Calculates a digest over a specific location and domain.
|
DigestInfo digest(Number640 from, Number640 to)
from - The start key for the digestto - The end key for the digestDigestInfo digest(Number320 key, SimpleBloomFilter<Number160> keyBloomFilter, SimpleBloomFilter<Number160> contentBloomFilter)
key - The location and domain keykeyBloomFilter - The bloomFilter of those key elements we want the digest. Please not that there might be false
positive, e.g., a Number160 that is included in the digest but not stored on disk/memory.contentBloomFilter - The bloomFilter of those data elements we want the digest. Please not that there might be false
positive, e.g., a Number160 that is included in the digest but not stored on disk/memory.Copyright © 2014. All rights reserved.