| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Digest
The storage stores Number480, which is separated in 3 Number160. The first Number160 is the location key, the second is the domain key, and the third is the content key. A digest can be calculated over all content keys for a specific location and domain. The digest can also be calculated over a selected range of content keys for a specific location and domain.
| Method Summary | |
|---|---|
 DigestInfo | 
digest(Number160 locationKey,
       Number160 domainKey,
       Collection<Number160> contentKeys)
Calculates a digest over a specific location and domain.  | 
 DigestInfo | 
digest(Number160 locationKey,
       Number160 domainKey,
       SimpleBloomFilter<Number160> keyBloomFilter,
       SimpleBloomFilter<Number160> contentBloomFilter)
Calculates a digest over a specific location and domain.  | 
| Method Detail | 
|---|
DigestInfo digest(Number160 locationKey,
                  Number160 domainKey,
                  Collection<Number160> contentKeys)
locationKey - The location keydomainKey - The domain keycontentKeys - The content keys to look for. Those keys that are not found are ignored. Can be set to null ->
            gets the information for all content keys
DigestInfo digest(Number160 locationKey,
                  Number160 domainKey,
                  SimpleBloomFilter<Number160> keyBloomFilter,
                  SimpleBloomFilter<Number160> contentBloomFilter)
locationKey - The location keydomainKey - The 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.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||