Package 

Interface UrlCache


  • 
    public interface UrlCache
    
                        

    The url cache holds UrlAwares.

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

    Url caches are expected to be very large, the items can be loaded from external source, for example, MongoDB.