public interface ModificationListener
Modifications are named. The names usually correspond to a database tablename, but may be any application-specific name as well.
| Modifier and Type | Method and Description |
|---|---|
void |
dataChanged(ModificationEvent ev)
Invoked whenever an instance of given class has changed.
|
String[] |
getNames()
Gets the names to listen to.
|
int |
getPriority()
Gets the execution priority.
Determines the order of execution. |
long |
getTimeDelay()
Gets the optional delay to fire the event.
Allows to collect events for multiple names within an interval. If both timeFrame and timeDelay are given, the delay is treated as an offset to the frame. |
long |
getTimeFrame()
Gets the optional execution time frame in milliseconds.
If given, the listener will be executed at a random time within the time frame. |
String[] getNames()
int getPriority()
long getTimeFrame()
long getTimeDelay()
void dataChanged(ModificationEvent ev)
ev - the modification eventTentackle - distributed, domain- and model-driven