Interface UrlCache

  • All Implemented Interfaces:

    
    public interface UrlCache
    
                        

    The url cache holds urls.

    A url cache contains several queues for different purpose: reentrant, non-reentrant and n-reentrant. A reentrant queue accepts the same url multiple times, a non-reentrant queue accepts the same url only once, and an n-reentrant queue accepts the same url for n times at most.

    The URL cache is expected to be very large and items may be loaded from external sources such as MongoDB.