Interface DataProcessor<T>

  • Type Parameters:
    T - The type of objects observed by this DataProcessor.

    public interface DataProcessor<T>
    The interface to implement in order to be notified of all the changes occurred to the facts managed by a DataSource
    • Method Detail

      • insert

        default void insert​(T object)
        Notifies this DataProcessor that an object has been inserted in the observed DataSource.
      • update

        void update​(DataHandle handle,
                    T object)
        Notifies this DataProcessor that an object with the given DataHandle has been updated in the observed DataSource.
      • delete

        void delete​(DataHandle handle)
        Notifies this DataProcessor that an object with the given DataHandle has been deleted from the observed DataSource.