Class PrometheusThreadPurgeDatabase
java.lang.Object
io.github.tonywasher.joceanus.prometheus.threads.PrometheusThreadPurgeDatabase
- All Implemented Interfaces:
TethysUIThread<Void>
Thread to purge tables in a database that represent a data set. Existing loaded data will be
marked as new so that it will be written to the database via the store command.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor (Event Thread). -
Method Summary
Modifier and TypeMethodDescriptionobtain the task name.performTask(TethysUIThreadManager pManager) Perform the task.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, processResult
-
Constructor Details
-
PrometheusThreadPurgeDatabase
Constructor (Event Thread).- Parameters:
pControl- data control
-
-
Method Details
-
getTaskName
Description copied from interface:TethysUIThreadobtain the task name.- Specified by:
getTaskNamein interfaceTethysUIThread<Void>- Returns:
- the task name
-
performTask
Description copied from interface:TethysUIThreadPerform the task.- Specified by:
performTaskin interfaceTethysUIThread<Void>- Parameters:
pManager- the thread manager- Returns:
- the result
- Throws:
OceanusException- on error
-