org.apache.nutch.fetcher
Class Fetcher.FetcherStatus
java.lang.Object
org.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. |
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 processedstart
- the time in millisec. this fetcher was startedpages
- number of pages fetchederrors
- number of fetching errorsbytes
- number of bytes fetched
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