edu.iastate.metnet.ui
Class BlockunitWorker
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser
edu.iastate.metnet.utils.SwingWorker2
edu.iastate.metnet.ui.BlockunitWorker
- All Implemented Interfaces:
- java.lang.Runnable
public class BlockunitWorker
- extends SwingWorker2
blockunit find thread
- Author:
- Jie Li
| Nested classes/interfaces inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser.DefaultThreadFactory |
|
Field Summary |
(package private) java.util.Collection |
blockIdList
blockid list to be found |
(package private) java.util.Vector |
blockunitSink
blockunit sink |
| Fields inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
threadFactory_ |
|
Constructor Summary |
BlockunitWorker(java.util.Collection blockIdList,
java.util.Vector sink)
default constructor |
|
Method Summary |
protected java.lang.Object |
construct()
call remote finder |
protected void |
finished()
save the result to main sink |
| Methods inherited from class EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser |
getThreadFactory, setThreadFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blockunitSink
java.util.Vector blockunitSink
- blockunit sink
blockIdList
java.util.Collection blockIdList
- blockid list to be found
BlockunitWorker
public BlockunitWorker(java.util.Collection blockIdList,
java.util.Vector sink)
- default constructor
- Parameters:
blockIdList - blockid listsink - the result sink
construct
protected java.lang.Object construct()
throws java.lang.InterruptedException
- call remote finder
- Specified by:
construct in class SwingWorker2
- Throws:
java.lang.InterruptedException
finished
protected void finished()
- save the result to main sink
- Overrides:
finished in class SwingWorker2