Interface CacheListener<T extends Persistent>

  • Type Parameters:
    T - The database object class for which this instance is a listener.

    public interface CacheListener<T extends Persistent>
    Listener for cache events
    Version:
    $Id: CacheListener.java 1728149 2016-02-02 15:27:42Z tv $
    Author:
    John McNally
    • Method Detail

      • addedObject

        void addedObject​(T om)
        Notify listener that an object has been added to the database
        Parameters:
        om - the object
      • refreshedObject

        void refreshedObject​(T om)
        Notify listener that an object has been modified
        Parameters:
        om - the object
      • removedObject

        void removedObject​(T om)
        Notify listener that an object has been removed from the database
        Parameters:
        om - the object
      • getInterestedFields

        List<Column> getInterestedFields()
        Get the list of fields we are listening for
        Returns:
        a list of fields, not null