org.apache.openjpa.util
public interface MapChangeTracker extends ChangeTracker
ChangeTracker.stopTracking()
after applying the operation to the map. The collections returned from
ChangeTracker.getAdded()
and ChangeTracker.getRemoved()
will
be collections of keys to add/remove.Modifier and Type | Method and Description |
---|---|
void |
added(java.lang.Object key,
java.lang.Object val)
Record that the given entry was added to the map.
|
void |
changed(java.lang.Object key,
java.lang.Object oldVal,
java.lang.Object newVal)
Record that the given entry was altered.
|
boolean |
getTrackKeys()
Whether to track keys or values.
|
void |
removed(java.lang.Object key,
java.lang.Object val)
Record that the given entry was removed from the map.
|
void |
setTrackKeys(boolean keys)
Whether to track keys or values.
|
getAdded, getChanged, getNextSequence, getRemoved, isTracking, setNextSequence, startTracking, stopTracking
boolean getTrackKeys()
void setTrackKeys(boolean keys)
void added(java.lang.Object key, java.lang.Object val)
void removed(java.lang.Object key, java.lang.Object val)
void changed(java.lang.Object key, java.lang.Object oldVal, java.lang.Object newVal)