public abstract class SmartExecutorPersistenceConnector extends org.gcube.vremanagement.executor.plugin.PluginStateNotification implements ScheduledTaskPersistence
SCOPE| Constructor and Description |
|---|
SmartExecutorPersistenceConnector() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Close the connection to DB
|
abstract org.gcube.vremanagement.executor.plugin.PluginStateEvolution |
getLastPluginInstanceState(UUID uuid)
Retrieve the status of the iterationNumber of the last running/run
Plugin which is/was identified
by the UUID passed as parameter |
abstract org.gcube.vremanagement.executor.plugin.PluginStateEvolution |
getPluginInstanceState(UUID uuid,
int iterationNumber)
Retrieve the status of the iterationNumber (passed as parameter) of a running/run
Plugin which is/was identified
by the UUID passed as parameter |
protected boolean |
isOrphan(ScheduledTask scheduledTask) |
pluginStateEvolutionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddScheduledTask, getOrphanScheduledTasks, getScheduledTask, releaseScheduledTask, releaseScheduledTask, removeScheduledTask, removeScheduledTask, reserveScheduledTaskpublic abstract void close()
throws Exception
Exception - if failspublic abstract org.gcube.vremanagement.executor.plugin.PluginStateEvolution getPluginInstanceState(UUID uuid, int iterationNumber) throws Exception
Plugin which is/was identified
by the UUID passed as parameteruuid - the execution identifier of the running/run PluginiterationNumber - thePluginState of the PluginException - if failspublic abstract org.gcube.vremanagement.executor.plugin.PluginStateEvolution getLastPluginInstanceState(UUID uuid) throws Exception
Plugin which is/was identified
by the UUID passed as parameteruuid - the execution identifier of the running/run PluginPluginState of the PluginException - if failsprotected boolean isOrphan(ScheduledTask scheduledTask) throws Exception
ExceptionCopyright © 2017. All Rights Reserved.