Interface MemoryResultSetSource
-
- All Superinterfaces:
EventSource<MemoryResultSetEvent>
,Runnable
@ConfigurationDescription(properties={@Property(name="Driver",defaultNull=true,description="The driver (class) name for the JDBC connection to use for the event source."),,,,,,}) public interface MemoryResultSetSource extends EventSource<MemoryResultSetEvent>
An event source causing an event based on the result of a select statement. This requires a database which can be provided directly via the appropriate JDBC data (driver, connection URL, username, password) or via aJDBCDataSource
which needs to be configured for the event manager of this event source.
The event source fires the configured select statement and causes the event based on the returned result set. However, the result set will not be used directly but its data will be stored in appropriate memory structures, aMemoryResultSet
. This is a very simplified result set.
AMemoryResultSetSource
may for instance share several event handler that get the memory result sets asynchronously and decoupled from the database transaction retrieving the data.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONF_MAX_RESULTS
Configuration key for how many results this source should add to the MemoryResultSet.
-
Method Summary
-
Methods inherited from interface de.aristaflow.adept2.model.events.sources.EventSource
addAll, addHandler, getEventHandler, getHierarchicalSourceName, getID, getType, removeHandler, setConfiguration
-
-
-
-
Field Detail
-
CONF_MAX_RESULTS
static final String CONF_MAX_RESULTS
Configuration key for how many results this source should add to the MemoryResultSet.- See Also:
- Constant Field Values
-
-