Class PrometheusThreadLoadDatabase
java.lang.Object
io.github.tonywasher.joceanus.prometheus.threads.PrometheusThreadLoadDatabase
- All Implemented Interfaces:
TethysUIThread<PrometheusDataSet>
public class PrometheusThreadLoadDatabase
extends Object
implements TethysUIThread<PrometheusDataSet>
Thread to load data from the database.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor (Event Thread). -
Method Summary
Modifier and TypeMethodDescriptionobtain the task name.performTask(TethysUIThreadManager pManager) Perform the task.voidprocessResult(PrometheusDataSet pResult) process result.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.thread.TethysUIThread
interruptForCancel, prepareTask
-
Constructor Details
-
PrometheusThreadLoadDatabase
Constructor (Event Thread).- Parameters:
pControl- data control
-
-
Method Details
-
getTaskName
Description copied from interface:TethysUIThreadobtain the task name.- Specified by:
getTaskNamein interfaceTethysUIThread<PrometheusDataSet>- Returns:
- the task name
-
performTask
Description copied from interface:TethysUIThreadPerform the task.- Specified by:
performTaskin interfaceTethysUIThread<PrometheusDataSet>- Parameters:
pManager- the thread manager- Returns:
- the result
- Throws:
OceanusException- on error
-
processResult
Description copied from interface:TethysUIThreadprocess result.- Specified by:
processResultin interfaceTethysUIThread<PrometheusDataSet>- Parameters:
pResult- the result
-