Construct an UpdaterProcessor
based on the specified ValueUpdater.
the type of the Map entry key
the type of the Map entry value
the return type of the ValueUpdater
a ValueUpdater object or the method name; passing null will simpy replace the entry's value with the specified one instead of updating it
the value to update the target entry with
Protected
Readonly
updaterThe underlying ValueUpdater.
Protected
Readonly
valueA value to update the entry's value with.
Returns a CompositeProcessor comprised of this and the provided processor.
a CompositeProcessor comprised of this and the provided processor
the next processor
Returns a ConditionalProcessor comprised of this processor and the provided filter.
The specified entry processor gets invoked if and only if the filter
applied to the entry evaluates to true
; otherwise the
result of the invocation will return null
.
the filter
UpdaterProcessor is an EntryProcessor implementations that updates an attribute of an object cached in an InvocableMap.
While it's possible to update a value via standard Map API, using the updater allows for clustered caches using the UpdaterProcessor allows avoiding explicit concurrency control and could significantly reduce the amount of network traffic.