@Deprecated public abstract class PersistenceConnector extends PluginStateNotification
| Modifier and Type | Field and Description |
|---|---|
protected static PersistenceConnector |
persistenceConnector
Deprecated.
|
inputs| Constructor and Description |
|---|
PersistenceConnector()
Deprecated.
|
PersistenceConnector(Map<String,String> inputs)
Deprecated.
|
PersistenceConnector(String location)
Deprecated.
This constructor is used to provide a location where creating persistence
files
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Deprecated.
Close the connection to DB
|
abstract PluginState |
getLastPluginInstanceState(UUID uuid)
Deprecated.
Retrieve the status of the iterationNumber of the last running/run
Plugin which is/was identified
by the UUID passed as parameter |
static PersistenceConnector |
getPersistenceConnector()
Deprecated.
|
abstract PluginState |
getPluginInstanceState(UUID uuid,
int iterationNumber)
Deprecated.
Retrieve the status of the iterationNumber (passed as parameter) of a running/run
Plugin which is/was identified
by the UUID passed as parameter |
static void |
setPersistenceConnector(PersistenceConnector persistenceConnector)
Deprecated.
|
pluginStateEvolutionprotected static PersistenceConnector persistenceConnector
public PersistenceConnector()
public PersistenceConnector(String location)
location - directory where creating the DB filepublic static PersistenceConnector getPersistenceConnector()
public static void setPersistenceConnector(PersistenceConnector persistenceConnector)
persistenceConnector - the persistenceConnector to setpublic abstract void close()
throws Exception
Exception - if failspublic abstract 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 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 © 2017. All Rights Reserved.