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 TypMethodeBeschreibungvoid
addedObject
(T om) Notify listener that an object has been added to the databaseGet the list of fields we are listening forvoid
refreshedObject
(T om) Notify listener that an object has been modifiedvoid
removedObject
(T om) Notify listener that an object has been removed from the database
-
Methodendetails
-
addedObject
Notify listener that an object has been added to the database- Parameter:
om
- the object
-
refreshedObject
Notify listener that an object has been modified- Parameter:
om
- the object
-
removedObject
Notify listener that an object has been removed from the database- Parameter:
om
- the object
-
getInterestedFields
Get the list of fields we are listening for- Gibt zurück:
- a list of fields, not null
-