cbr.agent
Class URLIndexer.Daemon

java.lang.Object
  extended byjava.lang.Thread
      extended bycbr.agent.URLIndexer.Daemon
All Implemented Interfaces:
Runnable
Enclosing class:
URLIndexer

protected class URLIndexer.Daemon
extends Thread

A daemon that gathers images from a particular site. Daemons compete for threads in the thread pool.


Field Summary
protected  URLPicsSource pics_
           
protected  ThreadPool pool_
           
protected  String url_
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected URLIndexer.Daemon(ThreadGroup tg, int n, URL url, int capacity)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pics_

protected URLPicsSource pics_

pool_

protected ThreadPool pool_

url_

protected String url_
Constructor Detail

URLIndexer.Daemon

protected URLIndexer.Daemon(ThreadGroup tg,
                            int n,
                            URL url,
                            int capacity)
                     throws MalformedURLException
Method Detail

run

public void run()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.