public abstract class SmartExecutorPersistenceConnector extends Object implements org.gcube.vremanagement.executor.plugin.PluginStateNotification
| Constructor and Description |
|---|
SmartExecutorPersistenceConnector() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Close the connection to DB
|
abstract org.gcube.vremanagement.executor.plugin.PluginState |
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.PluginState |
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 |
public abstract void close()
throws Exception
Exception - if failspublic abstract org.gcube.vremanagement.executor.plugin.PluginState 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.PluginState 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 failsCopyright © 2015. All Rights Reserved.