public abstract class SmartExecutorPersistenceConnector extends org.gcube.vremanagement.executor.plugin.PluginStateNotification implements ScheduledTaskPersistence
| 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 |
getPluginInstanceState(UUID uuid,
Integer 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 |
boolean |
isOrphan(ScheduledTask scheduledTask,
boolean sameHost) |
pluginStateEvolutionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddScheduledTask, getScheduledTask, getScheduledTasks, releaseScheduledTask, releaseScheduledTask, removeScheduledTask, removeScheduledTask, reserveScheduledTaskpublic abstract void close()
throws Exception
Exception - if failspublic abstract org.gcube.vremanagement.executor.plugin.PluginStateEvolution getPluginInstanceState(UUID uuid, Integer iterationNumber) throws org.gcube.vremanagement.executor.exception.PluginInstanceNotFoundException, org.gcube.vremanagement.executor.exception.ExecutorException
Plugin which is/was identified
by the UUID passed as parameteruuid - the execution identifier of the running/run PluginiterationNumber - the iterationNumber (null to get the last)PluginState of the PluginException - if failsorg.gcube.vremanagement.executor.exception.PluginInstanceNotFoundExceptionorg.gcube.vremanagement.executor.exception.ExecutorExceptionpublic boolean isOrphan(ScheduledTask scheduledTask, boolean sameHost) throws org.gcube.vremanagement.executor.exception.ExecutorException
org.gcube.vremanagement.executor.exception.ExecutorExceptionCopyright © 2022. All Rights Reserved.