Class OrbitRefresher.OrbitUpdaterThread
java.lang.Object
java.lang.Thread
gaiasky.util.concurrent.ServiceThread
gaiasky.data.OrbitRefresher.OrbitUpdaterThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
OrbitRefresher
The orbit refresher thread.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class ServiceThread
awake, running, task, threadLockModifier and TypeFieldDescriptionprotected final AtomicBooleanprotected final AtomicBooleanprotected Runnableprotected final ObjectFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ServiceThread
getThreadLock, isAwake, isRunning, offerTask, run, stopDaemon, waitCurrentTask, wakeUpModifier and TypeMethodDescriptionbooleanisAwake()Queries the thread state.booleanWhether the thread is running or it is stopped.voidThis method offers the new task to the service thread.voidrun()voidstopDaemon(boolean notifyAll) Stops the daemon iterations when the current task has finished.voidThis method does an active wait until the current task is finished.voidwakeUp()This method wakes up the thread and runs the current task.Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, threadId, toString, yield
-
Constructor Details
-
OrbitUpdaterThread
-