Package org.citydb.concurrent
Class Worker<T>
- java.lang.Object
-
- org.citydb.concurrent.Worker<T>
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
CityJSONWriterWorker
,DBDeleteWorker
,DBExportWorker
,DBExportXlinkWorker
,DBImportWorker
,DBImportXlinkResolverWorker
,DBImportXlinkWorker
,DefaultWorker
,EventWorker
,FeatureReaderWorker
,XMLWriterWorker
public abstract class Worker<T> extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
eventChannel
protected T
firstWork
protected java.lang.Thread
workerThread
protected WorkerPool.WorkQueue<T>
workQueue
-
Constructor Summary
Constructors Constructor Description Worker()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
interrupt()
-
-
-
Field Detail
-
workQueue
protected WorkerPool.WorkQueue<T> workQueue
-
workerThread
protected java.lang.Thread workerThread
-
firstWork
protected T firstWork
-
eventChannel
protected java.lang.Object eventChannel
-
-