Package org.apache.sis.util.collection
Class Cache.Deferred<K,V>
java.lang.Object
org.apache.sis.util.collection.Cache.Deferred<K,V>
Key-value pairs of new entries created during
Cache.ReplaceAdapter
execution, as a chained list.
Calls to Cache.notifyChange(Object, Object)
for those entries need to be deferred until operation
on Cache.map
completed because Cache.adjustReferences(Object, Object)
needs the new values
to be present in the map.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static <K,
V> void notifyChanges
(Cache<K, V> cache, Cache.Deferred<K, V> entry) Sends all deferred notifications, starting with the given one.