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 a JDBCDataSource 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, a MemoryResultSet. This is a very simplified result set.
A MemoryResultSetSource may for instance share several event handler that get the memory result sets asynchronously and decoupled from the database transaction retrieving the data.
  • Field Details

    • CONF_MAX_RESULTS

      static final String CONF_MAX_RESULTS
      Configuration key for how many results this source should add to the MemoryResultSet.
      See Also: