opendap.crawler
Class PrintVisitedCache

java.lang.Object
  extended by opendap.crawler.PrintVisitedCache

public class PrintVisitedCache
extends java.lang.Object

Print the keys (URLs) and Last Modified Times (which are actually the access times) for a given 'visited' cache.

Author:
jimg

Constructor Summary
PrintVisitedCache(java.lang.String basename, java.lang.String tablename)
           
 
Method Summary
static void main(java.lang.String[] args)
          Given the name of the visited cache (e.g., test.opendap.or_THREDDS) and the name of the Postgres database table (e.g., thredds_resoponses), print the URLs and the stored LMT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintVisitedCache

public PrintVisitedCache(java.lang.String basename,
                         java.lang.String tablename)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
Given the name of the visited cache (e.g., test.opendap.or_THREDDS) and the name of the Postgres database table (e.g., thredds_resoponses), print the URLs and the stored LMT. We need the Postgres table name because of the way ResponseCachePostgres works.

Parameters:
args -