Package org.apache.torque.manager

# Schnittstelle CacheListener<T extends Persistent>

Typparameter:
  `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 $
Autor:
  John McNally

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  `addedObject(T om)`
  Notify listener that an object has been added to the database
  `List<Column>`
  `getInterestedFields()`
  Get the list of fields we are listening for
  `void`
  `refreshedObject(T om)`
  Notify listener that an object has been modified
  `void`
  `removedObject(T om)`
  Notify listener that an object has been removed from the database

- ## Methodendetails

  - ### addedObject

    void addedObject(T om)
    Notify listener that an object has been added to the database
    Parameter:
      `om` - the object

  - ### refreshedObject

    void refreshedObject(T om)
    Notify listener that an object has been modified
    Parameter:
      `om` - the object

  - ### removedObject

    void removedObject(T om)
    Notify listener that an object has been removed from the database
    Parameter:
      `om` - the object

  - ### getInterestedFields

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