stella.sql
Class TargetConsistency.UpdateThread
java.lang.Object
java.lang.Thread
stella.sql.TargetConsistency.UpdateThread
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- TargetConsistency
private static final class TargetConsistency.UpdateThread
- extends Thread
A thread that updates the targt database with simbad-resolved stars. No
auto-starting
|
Method Summary |
void |
run()
For each star found in the list we query the simbad services and
enter it into the database if resolvable. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
names
private List<String> names
- The list worked on.
resort
private Map<String,StarDescription> resort
- The fallback-solution for unresolved stars, might be null.
TargetConsistency.UpdateThread
private TargetConsistency.UpdateThread(List<String> stars,
Map<String,StarDescription> f)
- Copies the simbad list into a new reference.
run
public void run()
- For each star found in the list we query the simbad services and
enter it into the database if resolvable.
- Specified by:
run in interface Runnable- Overrides:
run in class Thread