Trees | Index | Help |
---|
Module orchid :: Class OrchidController |
|
object
--+ |_Verbose
--+ |Thread
--+ | OrchidController
Method Summary | |
---|---|
Creates a new controller. | |
Returns a list of number of urls each fetcher thread handler. | |
Returns the number of fetchers that handled at least one url. | |
Runs this controller thread. | |
Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
linksToFetch,
siteQueueAndCond,
analyzer,
numFetchers=1,
maxFetches=100,
socketTimeOut=20,
delay=5)
Creates a new controller. Typically you will need only one.
|
getFetcherThreadUtilization(self)Returns a list of number of urls each fetcher thread handler. |
getNumFetchersUsed(self)Returns the number of fetchers that handled at least one url. |
run(self)Runs this controller thread. The controller will use it's fetchers to fill the links and sites databases.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Dec 12 14:30:34 2005 | http://epydoc.sf.net |