org.apache.nutch.fetcher
Class Fetcher.FetcherStatus

java.lang.Object
  extended byorg.apache.nutch.fetcher.Fetcher.FetcherStatus
Enclosing class:
Fetcher

public static class Fetcher.FetcherStatus
extends Object


Constructor Summary
Fetcher.FetcherStatus(String name, long start, int pages, int errors, long bytes)
          FetcherStatus encapsulates a snapshot of the Fetcher progress status.
 
Method Summary
 long getByteCount()
           
 long getCurTime()
           
 long getElapsedTime()
           
 int getErrorCount()
           
 String getName()
           
 int getPageCount()
           
 long getStartTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Fetcher.FetcherStatus

public Fetcher.FetcherStatus(String name,
                             long start,
                             int pages,
                             int errors,
                             long bytes)
FetcherStatus encapsulates a snapshot of the Fetcher progress status.

Parameters:
name - short name of the segment being processed
start - the time in millisec. this fetcher was started
pages - number of pages fetched
errors - number of fetching errors
bytes - number of bytes fetched
Method Detail

getName

public String getName()

getStartTime

public long getStartTime()

getCurTime

public long getCurTime()

getElapsedTime

public long getElapsedTime()

getPageCount

public int getPageCount()

getErrorCount

public int getErrorCount()

getByteCount

public long getByteCount()

toString

public String toString()


Copyright © 2006 The Apache Software Foundation