Package Contract
This package includes the classes that provide the data store for all the HTML pages fetched and approved by the Ferrets. It consists of two classes- Cache and FerretApprovedPagesCache.
The data store used for storing all the pages fetched by the Ferret is known as the FerretLookupCache and is an object of type Cache. Before a Ferret goes out on the Internet to search for a particular page, it first checks this cache to see if that page has already been fetched before.
The data store used for storing all the pages approved by the Ferret is an object of type FerretApprovedPagesCache. This class extends the Cache class and provides additional functionality of informing the Filter of the arrival of a new HTML page approved by the Ferret.
Package-Level CRC
Collaborators:
filter, ferret
Responsibilities:
Store pages approved by ferrets.