Class PostgreSQLPersistenceConnector

java.lang.Object
org.gcube.vremanagement.executor.plugin.PluginStateNotification
org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConnector
org.gcube.vremanagement.executor.persistence.postgresql.PostgreSQLPersistenceConnector
All Implemented Interfaces:
ScheduledTaskPersistence

public class PostgreSQLPersistenceConnector extends SmartExecutorPersistenceConnector
Keeps the scheduled tasks and the states of their executions in a PostgreSQL database, in two tables the connector creates when they are missing. Each row holds the JSON of the object and the columns the queries select on; every value of a query is a parameter. A caller reaches only the rows of the Context of its request.
Author:
Luca Frosini (ISTI - CNR)