Package nxlucene :: Module threadpool :: Class ThreadPoolThread
[show private | hide private]
[frames | no frames]

Type ThreadPoolThread

object --+            
         |            
  _Verbose --+        
             |        
        Thread --+    
                 |    
      PythonThread --+
                     |
                    ThreadPoolThread


Pooled thread class.
Method Summary
  __init__(self, pool)
Initialize the thread and remember the pool.
  goAway(self)
Exit the run loop next time through.
  run(self)
Until told to quit, retrieve the next task and execute it, calling the callback if any.
    Inherited from PythonThread
  join(self, timeout)
  start(self)
    Inherited from Thread
  __repr__(self)
  getName(self)
  isAlive(self)
  isDaemon(self)
  setDaemon(self, daemonic)
  setName(self, name)
  _set_daemon(self)
    Inherited from _Verbose
  _note(self, format, *args)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
float threadSleepTime = 0.10000000000000001                                                   
    Inherited from Thread
bool _Thread__initialized = False

Method Details

__init__(self, pool)
(Constructor)

Initialize the thread and remember the pool.
Overrides:
nxlucene.PatchPythonThread.PythonThread.__init__

goAway(self)

Exit the run loop next time through.

run(self)

Until told to quit, retrieve the next task and execute it, calling the callback if any.
Overrides:
threading.Thread.run

Class Variable Details

threadSleepTime

Type:
float
Value:
0.10000000000000001                                                   

Generated by Epydoc 2.1 on Fri Jun 30 16:38:47 2006 http://epydoc.sf.net