Uses of Interface
com.norconex.crawler.core.cluster.CacheEntryUpdate
Packages that use CacheEntryUpdate
Package
Description
-
Uses of CacheEntryUpdate in com.norconex.crawler.core.cluster
Methods in com.norconex.crawler.core.cluster with parameters of type CacheEntryUpdateModifier and TypeMethodDescriptionCacheMap.update(String key, CacheEntryUpdate<T> update) Atomically changes an entry as the given update decides from its current value.CacheMap.updateAll(Collection<String> keys, CacheEntryUpdate<T> update) Atomically changes each of the given entries as the given update decides from its current value, the wayCacheMap.update(String, CacheEntryUpdate)does for one. -
Uses of CacheEntryUpdate in com.norconex.crawler.core.cluster.impl.hazelcast
Methods in com.norconex.crawler.core.cluster.impl.hazelcast with parameters of type CacheEntryUpdateModifier and TypeMethodDescriptionHazelcastMapAdapter.update(String key, CacheEntryUpdate<T> update) Runs the update where the entry lives, as a Hazelcast entry processor: one round trip, atomic for the key, and no comparison of serialized values.HazelcastMapAdapter.updateAll(Collection<String> keys, CacheEntryUpdate<T> update) Runs the update on all keys in one call, Hazelcast sending it to each partition owner at once instead of one round trip per key. -
Uses of CacheEntryUpdate in com.norconex.crawler.core.cluster.impl.memory
Methods in com.norconex.crawler.core.cluster.impl.memory with parameters of type CacheEntryUpdate -
Uses of CacheEntryUpdate in com.norconex.crawler.core.cluster.impl.mvstore
Methods in com.norconex.crawler.core.cluster.impl.mvstore with parameters of type CacheEntryUpdateModifier and TypeMethodDescriptionMVStoreCacheMap.update(String key, CacheEntryUpdate<T> update) Compare-and-set on the stored JSON text, retried until it holds: atomic even against the unsynchronizedMVStoreCacheMap.put(String, Object), and exact whatever the value class'sequals.